serve-handler icon indicating copy to clipboard operation
serve-handler copied to clipboard

The foundation of `serve`

Results 90 serve-handler issues
Sort by recently updated
recently updated
newest added

not add trailing comma just a tiny mistake

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

I'm trying to serve a CRA which uses a custom domain and HTTPS through an `.env` file: ``` HOST=myapp.localhost HTTPS=true ``` When running `npm start` it opens up in the...

It would be nice if we could have and HTTP auth flag which we can define in the `now.json`. There are a few static pages that I have that I...

Symlink directory is read as ordinary file, when that directory is being clicked, serve automatically stop working. This is the error message: > INFO: Gracefully shutting down. Please wait... >...

Some developers like me may have restrictions for development mode to restrict access to others without using a web server or etc, I created this PR to solve this problem.

## Problem-Description I get my requests to the following URL `/some/frontend/static/js/main.js`. My build folder to be served has the following structure ``` build |_ static |_ js |_ main.js ```...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

[String.prototype.substr()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) is deprecated so we replace it with [String.prototype.slice()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice) which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't...

https://github.com/vercel/serve-handler/blob/c7a40435bc28b420a725e6dc1e9565d5b845dee2/src/index.js#L155 The solution is to use relative redirect links eg Location: ./folder/ instead of Location: /folder/