Description
Board
DOIT ESP32 DEVKIT v1
Device Description
Plain module with SD reader
Hardware Configuration
Nothing special besides SD reader.
Version
v2.0.2
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
115200
Description
When using the basic example for SDWebServer on edit mode the path are generated wrong.
A relative path is generated with a double slash // at the beginning resulting that no files can be uploaded or downloaded.
If the path in the request is manually corrected in the browser everything works fine.
So I think the problem is located in the htm file provided here:
https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer/examples/SDWebServer/SdRoot/edit
This is happening:
Screenshot 2022-03-27 154213
I tried to modify the javascript but I have no clue where to start since I have no idea where the path variable "comes from".
Sketch
-
Debug Message
-
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status