BackendStack21 / 0http

Zero friction HTTP requests router. The need for speed!
https://0http.21no.de
MIT License
158 stars 11 forks source link

serve-static w/ low #4

Closed ohenepee closed 5 years ago

ohenepee commented 5 years ago

Can you get Express serve-static to work with low

jkyberneees commented 5 years ago

Hi @ohenepee, unfortunately serve-static requires Node.js compatible interfaces. 0http still does not support them.

However, there is another project that offers compatibility with both express and uWebSocket.js, please have a look: https://github.com/dalisoft/nanoexpress/blob/master/examples/static.js

Regards

ohenepee commented 5 years ago

Thanks