ESPAsyncWebServer - Serving 404 page from FS

M@rcel
Posts: 8
Joined: Sun Aug 14, 2016 3:55 pm

ESPAsyncWebServer - Serving 404 page from FS

Postby M@rcel » Mon Apr 26, 2021 6:46 pm

Hi,

I am currently implementing the ESPAsyncWebServer in my application. I would like to use webpaves stored on an FileSystem (FS, MicroSD). This works well. I am struggling, however, to serve the 404-NOTFOUND page from SD. I can send an internal (memory) page with the correct 404-NOTFOUND status code but a page from FS is always sent with a status code of 200-OK.

Any suggestions?

Who is online

Users browsing this forum: No registered users and 70 guests