Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/AutoConnect/commit/b2de2d8921f06076ce639a5977ac7ba091922dfd?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
3 deletions
src/AutoConnect.cpp
@ -124,7 +124,7 @@ bool AutoConnect::begin(const char* ssid, const char* passphrase, unsigned long
if ( cs ) {
// Advance configuration for STA mode. Restore previous configuration of STA.
_loadAvailCredential ( reinterpret_cast < const char * > ( current . ssid ) ) ;
bool available_cred = _loadAvailCredential ( reinterpret_cast < const char * > ( current . ssid ) ) ;
if ( ! _configSTA ( _apConfig . staip , _apConfig . staGateway , _apConfig . staNetmask , _apConfig . dns1 , _apConfig . dns2 ) )
return false ;
@ -135,8 +135,13 @@ bool AutoConnect::begin(const char* ssid, const char* passphrase, unsigned long
_disconnectWiFi ( false ) ;
WiFi . begin ( c_ssid , c_password ) ;
}
AC_DBG ( " WiFi.begin(%s%s%s) \n " , c_ssid = = nullptr ? " " : c_ssid , c_password = = nullptr ? " " : " , " , c_password = = nullptr ? " " : c_password ) ;
cs = _waitForConnect ( _connectTimeout ) = = WL_CONNECTED ;
if ( c_ssid = = nullptr & & c_password = = nullptr & & available_cred = = false ) {
cs = false ;
}
else {
AC_DBG ( " WiFi.begin(%s%s%s) \n " , c_ssid = = nullptr ? " " : c_ssid , c_password = = nullptr ? " " : " , " , c_password = = nullptr ? " " : c_password ) ;
cs = _waitForConnect ( _connectTimeout ) = = WL_CONNECTED ;
}
}
}