lasselukkari / aWOT

Arduino web server library.
MIT License
292 stars 42 forks source link

Add support to define a custom 'not found' error #73

Closed latchdevel closed 4 years ago

latchdevel commented 4 years ago

Hi.

Congrats for your nice project.

I have needed to define a custom response in case of 404 error, but have not seen any facility to do so. This is the way that I am doing it. If there is any other better way, please let me know.

Regards. Jorge.

lasselukkari commented 4 years ago

Hello.

I added an example how to implement a custom 404 page: https://github.com/lasselukkari/aWOT/blob/master/examples/CustomNotFound/CustomNotFound.ino

latchdevel commented 4 years ago

Great !! Thank you very much for your help. Regards.