Dependency updates and fix URL rewrites
This commit is contained in:
parent
ff50acf913
commit
41bf2480ce
2 changed files with 6 additions and 2 deletions
|
@ -20,6 +20,10 @@ void setupWebserver()
|
|||
|
||||
AsyncStaticWebHandler &staticHandler = server.serveStatic("/", LittleFS, "/").setDefaultFile("index.html");
|
||||
|
||||
|
||||
server.rewrite("/convert", "/");
|
||||
server.rewrite("/api", "/");
|
||||
|
||||
if (preferences.getBool("httpAuthEnabled", DEFAULT_HTTP_AUTH_ENABLED))
|
||||
{
|
||||
staticHandler.setAuthentication(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue