You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should have the ability to serve a folder directly from the terminal.
For example:
Lets say I installed fastify-static globally with -g flag, now I should be able to serve a folder with below commant fastify-static . //serve current folder fastify-static app/public/ -p 80 //serve the folder app/pblic on post 80
The text was updated successfully, but these errors were encountered:
I would prefer not to, mainly because it would require adding fastify as a direct dependency, which will complicate the dependency graph when we release fastify@2. I think we should just write a little utility that does that.
As a side note, there are a lot of CLI tools that do that, why would you need it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It should have the ability to serve a folder directly from the terminal.
For example:
Lets say I installed fastify-static globally with
-g
flag, now I should be able to serve a folder with below commantfastify-static . //serve current folder
fastify-static app/public/ -p 80 //serve the folder app/pblic on post 80
The text was updated successfully, but these errors were encountered: