diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 3340e53..38060ac 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -526,7 +526,6 @@ const char AutoConnect::_ELM_MENU_PRE[] PROGMEM = { "
  • Open SSIDs
  • " "
  • Disconnect
  • " "
  • Reset...
  • " - "
  • HOME
  • " }; const char AutoConnect::_ELM_MENU_AUX[] PROGMEM = { @@ -534,6 +533,7 @@ const char AutoConnect::_ELM_MENU_AUX[] PROGMEM = { }; const char AutoConnect::_ELM_MENU_POST[] PROGMEM = { + "
  • HOME
  • " "" "" "
    " @@ -906,7 +906,7 @@ String AutoConnect::_token_MENU_PRE(PageArgument& args) { AC_UNUSED(args); String currentMenu = FPSTR(_ELM_MENU_PRE); currentMenu.replace(String(F("MENU_TITLE")), _menuTitle); - currentMenu.replace(String(F("HOME_URI")), _apConfig.homeUri); + // currentMenu.replace(String(F("HOME_URI")), _apConfig.homeUri); return currentMenu; } @@ -919,7 +919,9 @@ String AutoConnect::_token_MENU_AUX(PageArgument& args) { String AutoConnect::_token_MENU_POST(PageArgument& args) { AC_UNUSED(args); - return String(FPSTR(_ELM_MENU_POST)); + String postMenu = FPSTR(_ELM_MENU_POST); + postMenu.replace(String(F("HOME_URI")), _apConfig.homeUri); + return postMenu; } String AutoConnect::_token_CSS_LUXBAR(PageArgument& args) {