Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/AutoConnect/commit/02e98f54f4268c39dcacd8cecf61aa079315665b?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
7 deletions
src/AutoConnect.cpp
src/AutoConnect.h
@ -360,11 +360,8 @@ void AutoConnect::home(const String& uri) {
* Stops AutoConnect captive portal service .
*/
void AutoConnect : : end ( void ) {
if ( _responsePage ! = nullptr ) {
_responsePage - > ~ PageBuilder ( ) ;
delete _responsePage ;
_responsePage = nullptr ;
}
_responsePage . reset ( ) ;
if ( _currentPageElement ! = nullptr ) {
_currentPageElement - > ~ PageElement ( ) ;
_currentPageElement = nullptr ;
@ -436,7 +433,7 @@ void AutoConnect::_startWebServer(void) {
_webServer - > onNotFound ( std : : bind ( & AutoConnect : : _handleNotFound , this ) ) ;
// here, Prepare PageBuilders for captive portal
if ( ! _responsePage ) {
_responsePage = new PageBuilder ( ) ;
_responsePage . reset ( new PageBuilder ( ) ) ;
_responsePage - > exitCanHandle ( std : : bind ( & AutoConnect : : _classifyHandle , this , std : : placeholders : : _1 , std : : placeholders : : _2 ) ) ;
_responsePage - > onUpload ( std : : bind ( & AutoConnect : : _handleUpload , this , std : : placeholders : : _1 , std : : placeholders : : _2 ) ) ;
_responsePage - > insert ( * _webServer ) ;
@ -274,7 +274,7 @@ class AutoConnect {
* Every time a GET / POST HTTP request occurs , an AutoConnect
* menu page corresponding to the URI is generated .
*/
PageBuilder * _responsePage = nullptr ;
std : : unique_ptr < PageBuilder > _responsePage ;
PageElement * _currentPageElement = nullptr ;
/** Extended pages made up with AutoConnectAux */