http-server
http-server copied to clipboard
a simple zero-configuration command-line http server
https://www.huntr.dev/bounties/09b3a2d1-a1d4-426e-bc7f-f0d4f12701e3 https://www.huntr.dev/bounties/25915ff8-45d6-481a-aa68-29169d3a0b74/
##### Relevant issues ##### Contributor checklist - [x] Provide tests for the changes (unless documentation-only) - [x] Documented any new features, CLI switches, etc. (if applicable) - [ ] Server...
Fix timeout flag behavior for 0 value, negative value, empty value, and non-numeric value. Add timeout flag description to README. #### Example ##### 0 or negative values `-t0` `-t-42` ->...
passing "-r true" or "--robots true" on command line. possible reasons: - http-server.js, near line 113, there is "options.robots === true", but in fact the value is a string, so...
I run http-server primarily for SPA with proxy redirect. I prefer to just use http-server directly without an NGINX or some other firewall for my projects. #### Environment Versions 1....
`--coiso` flag can send coop and coep headers, Which useful for webassembly thread enabling. ### More info about coop and coep * [What is coop and coep](https://web.dev/coop-coep/) * [Why coop...
Fixes #142 Remark: For this file there are no unit tests to be extended. ##### Relevant issues ##### Contributor checklist - [ ] Provide tests for the changes (unless documentation-only)...
-g option will enable content-type: application/gzip; charset=utf-8 but this is not enough, it has to have "Content-Encoding: gzip" also in response header here is an example of error message when...
#### Environment Versions 1. OS Type : MacOS 1. Node version: v16.9.1 1. http-server version: 14.0.0 #### Steps to reproduce Before Running this script, I have already set env variable...
how serve next js dynamic pages like that  currently I see 