Open rutlang opened 9 years ago
In essence, crude static file serving is just reading the file from the file system, setting the appropriate headers/mime-types and sending it as a response.
Alternatively, if you're using crow behind a reverse proxy (such as nginix) then you could use that for serving statics.
I might throw up a middleware example onto the crow-contrib.
how do you return external files (js, css, images)?