jczic / MicroWebSrv2

The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!
https://github.com/jczic/MicroWebSrv2
MIT License
662 stars 97 forks source link

Regex matching directories doesnt seem to work on micropython 1.19.1 #97

Open Tobinator32 opened 1 year ago

Tobinator32 commented 1 year ago

Im having issues with serving static files. Decorating a function with @WebRoute(GET, "/") or even @WebRoute(GET, "/")doesnt seem to do anything as it is not called althought the requested url should match it.