I'm currently trying to serve a website in a subdirectory of SPIFFS.
I can serve the index.html just fine, but files in a subdirectory of that directory like assets/index-GFgXtGjb.js just return a 500 Server Error.
It works when the files to serve are in the root of SPIFFS, but not like this.
I'm currently trying to serve a website in a subdirectory of SPIFFS. I can serve the
index.html
just fine, but files in a subdirectory of that directory likeassets/index-GFgXtGjb.js
just return a 500 Server Error.It works when the files to serve are in the root of SPIFFS, but not like this.
Code:
Please fix this soon or at least tell me how to fix it so I can make a pull request. Thank you in advance!