BackendStack21 / restana

Restana is a lightweight and fast Node.js framework for building RESTful APIs.
MIT License
467 stars 27 forks source link

Link for serving static files in README does no longer work #102

Closed silverwind closed 4 years ago

silverwind commented 4 years ago

The link https://thejs.blog/2019/07/12/restana-static-serving-the-frontend-with-node-js-beyond-nginx/ at https://github.com/jkyberneees/ana#serving-static-files does no longer work, it seems the domain name does not resolve.

Maybe replace it with a small inline example?

jkyberneees commented 4 years ago

Hi @silverwind thanks for the catch, yes, the link has changed, I will update ASAP.

jkyberneees commented 4 years ago

JFYI: Coming in next release...

Serving static files

You can read more about serving static files with restana in this link: https://itnext.io/restana-static-serving-the-frontend-with-node-js-beyond-nginx-e45fdb2e49cb

Also, the restana-static project simplifies the serving of static files using restana and docker containers:

silverwind commented 4 years ago

I've been running into some issues with serve-static related to http2 and have since switched to serve-handler, but good to see more alternatives being made available.