diff --git a/yoRadio/src/core/netserver.cpp b/yoRadio/src/core/netserver.cpp index 96d1600..bc51447 100644 --- a/yoRadio/src/core/netserver.cpp +++ b/yoRadio/src/core/netserver.cpp @@ -662,7 +662,7 @@ void NetServer::requestOnChange(requestType_e request, uint8_t clientId) { String processor(const String& var) { // %Templates% if (var == "ACTION") return (network.status == CONNECTED && !config.emptyFS)?"webboard":""; - if (var == "UPLOADWIFI") return (network.status == CONNECTED || SPIFFS.exists("/data/wifi.csv"))?" hidden":""; + if (var == "UPLOADWIFI") return (network.status == CONNECTED)?" hidden":""; if (var == "VERSION") return YOVERSION; if (var == "MODE") { if(config.store.play_mode==PM_SDCARD) { diff --git a/yoRadio/src/core/netserver.h b/yoRadio/src/core/netserver.h index 036f79a..695ab71 100644 --- a/yoRadio/src/core/netserver.h +++ b/yoRadio/src/core/netserver.h @@ -9,10 +9,11 @@ enum requestType_e : uint8_t { PLAYLIST=1, STATION=2, STATIONNAME=3, ITEM=4, TI enum import_e : uint8_t { IMDONE=0, IMPL=1, IMWIFI=2 }; const char emptyfs_html[] PROGMEM = R"(