-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the node-static package with serve-handler (#9)
It appears that node-static module hasn't been updated for 6 years and it has some vulnerabilities. On the other and serve-handler is the core package of `serve`, which is maintained by vercel. So it looks like it's a safer option. There were more options to choose from, but that looks like a good option, and required less effort to migrate.
- Loading branch information
Showing
3 changed files
with
93 additions
and
54 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters