changed direct backend access
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
|
||||
|
||||
const char* BACKEND_SERVER = "http://db.reptilfpv.de:3000";
|
||||
const char* BACKEND_TOKEN = "a4514dc0-15f5-4299-8826-fffb3139d39c";
|
||||
String BACKEND_TOKEN = licence; // Use the licence as the token for authentication
|
||||
|
||||
|
||||
bool backendOnline() {
|
||||
|
||||
Serial.println(licence);
|
||||
|
||||
if (WiFi.status() != WL_CONNECTED) {
|
||||
Serial.println("No WiFi connection.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user