-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup page config functions not functional in 1.0.3/4 that worked in 1.02 #18
Comments
Hi Michael. To fix it, the advice is to delete or rename the current |
I will test this weekend. What about a method of only showing the config elements I want to show on the Config page in /setup? |
Sorry, I do not understand what you mean. |
Tried it. Still no joy. On another note: If I change the web server port from 80 to anything else on the 1.0.2 branch, the Options tab also disappears. Could this be the same cause as issue #23? |
I think I found the problem. I am using config.json for the application data and your library is also using it. If I move my config to another named json file, the web page functions start working. I also found that if I do not enable the edit page, I can provide my own handler for the POST of the /edit command. Sadly, this does not work if the edit pages are enabled. I would like to request that a option to provide an additional function to be called when the "Save Config" button is pressed. A second feature request would be to be able to completely disable the logo. |
Hi,
Several /setup page options that were working in 1.0.2 now do nothing in 1.03 or 1.04.
-Custom logo not working
-Custom /setup page title not working
-Custom firmware version not working
See attached screen captures.
Here is the code:
// Web Server library
#include <AsyncFsWebServer.h>
// WebServer
AsyncFsWebServer asyncServer(WSPort,FILESYSTEM);
// Add a new config box
asyncServer.addOptionBox("Things");
asyncServer.addOption("Build Date (MMDDYY)", buildDate);
// Add custom page title to /setup
char pageTitle[30];
sprintf(pageTitle,"Setup %s",macID);
asyncServer.setSetupPageTitle(pageTitle);
// Add custom logo to /setup page with custom size:w
asyncServer.setLogoBase64(base64_logo, "128", "128", /overwite file/ true);
asyncServer.setFirmwareVersion(BUILD_VER);
// Start webServer
asyncServer.init();
v1.0.2
v1.0.3/1.0.4
Sorry for all of the issues.
-michael
The text was updated successfully, but these errors were encountered: