|
|
@ -54,8 +54,6 @@ WebServer server(80); |
|
|
|
//Add a below line for AutoConnect.
|
|
|
|
//Add a below line for AutoConnect.
|
|
|
|
AutoConnect portal(server); |
|
|
|
AutoConnect portal(server); |
|
|
|
AutoConnectConfig config; |
|
|
|
AutoConnectConfig config; |
|
|
|
AutoConnectAux FSBedit("/edit", "Edit"); |
|
|
|
|
|
|
|
AutoConnectAux FSBlist("/list?dir=\"/\"", "List"); |
|
|
|
|
|
|
|
//holds the current upload
|
|
|
|
//holds the current upload
|
|
|
|
File fsUploadFile; |
|
|
|
File fsUploadFile; |
|
|
|
|
|
|
|
|
|
|
@ -325,7 +323,8 @@ void setup(void){ |
|
|
|
config.title = "FSBrowser"; |
|
|
|
config.title = "FSBrowser"; |
|
|
|
portal.config(config); |
|
|
|
portal.config(config); |
|
|
|
//Register AutoConnect menu
|
|
|
|
//Register AutoConnect menu
|
|
|
|
portal.join({ FSBedit, FSBlist }); |
|
|
|
portal.append("/edit", "Edit"); |
|
|
|
|
|
|
|
portal.append("/list?dir=\"/\"", "List"); |
|
|
|
//Replacement as follows to make AutoConnect recognition.
|
|
|
|
//Replacement as follows to make AutoConnect recognition.
|
|
|
|
//server.begin();
|
|
|
|
//server.begin();
|
|
|
|
portal.begin(); |
|
|
|
portal.begin(); |
|
|
|