tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webapp location is sensitive

elestedt opened this issue · comments

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of esp32-wifi-manager (v3.3.1)
  • I have searched open and closed issues to ensure it has not already been reported

Description

If I change the CONFIG_WEBAPP_LOCATION parameter to /wifi, style and js is still attempted to load from /.
If I change it to /wifi/ and visit http://10.10.0.1/wifi I get a 404, but if I go to http://10.10.0.1/wifi/ the UI works as expected.

Steps to Reproduce

simple example and change the WEBAPP_LOCATION as indicated above.

System Configuration

ESP32-S3-DevKitC-1

  • Environment (Operating system, version and so on): Compiling on WSL2