changed direct backend access

This commit is contained in:
Carsten Graf
2025-06-13 23:11:58 +02:00
parent b6fa2d69e7
commit abedcc8fb1
5 changed files with 58 additions and 30 deletions

View File

@@ -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;