Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/AutoConnect/commit/70be65dfd17900c8d6269c38a128db16af74ab66 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed IP address regexp

pull/137/head
Hieromon Ikasamo 5 years ago
parent 82ed17489e
commit 70be65dfd1
  1. 2
      src/AutoConnectPage.cpp

@ -715,7 +715,7 @@ const char AutoConnect::_PAGE_CONFIGNEW[] PROGMEM = {
"<script type=\"text/javascript\">"
"window.onload=function(){"
"['sip','gw','nm','ns1','ns2'].forEach(function(n,o,t){"
"io=document.getElementById(n),io.placeholder='0.0.0.0',io.pattern='^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'})"
"io=document.getElementById(n),io.placeholder='0.0.0.0',io.pattern='^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'})"
"};"
"function onFocus(e){"
"document.getElementById('ssid').value=e,document.getElementById('passphrase').focus()"

Loading…
Cancel
Save