How can I serve static files / a directory in hyper?

Viewed 2056

I want to serve some static files (.js, .css, ...) from my hyper server.
Currently the only way I can think of is inlining the files as strings / load them on startup.
Is there a better way to directly serve an entire directory or selected files?

1 Answers
Related