mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 16:06:38 +02:00
use relative not absolute url path
This commit is contained in:
parent
2c1b12e0e0
commit
330d9d5002
2 changed files with 5 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue