1
0
Fork 0
mirror of https://github.com/lumapu/ahoy.git synced 2025-05-17 19:06:10 +02:00

Merge pull request from Grufbert/url-path-relative

Use relative url path on setup page
This commit is contained in:
Andreas Schiffler 2022-09-06 11:10:53 +02:00 committed by GitHub
commit f97d365da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions
tools/esp8266

View file

@ -187,10 +187,6 @@ void web::showSetup(void) {
// -> the PWD will only be changed if it does not match the default "{PWD}"
html.replace(F("{DEVICE}"), String(mSysCfg->deviceName));
html.replace(F("{VERSION}"), String(mVersion));
if(mMain->getWifiApActive())
html.replace("{IP}", String(F("http://192.168.1.1")));
else
html.replace("{IP}", (F("http://") + String(WiFi.localIP().toString())));
String inv = "";
Inverter<> *iv;