serve-handler
serve-handler copied to clipboard
The foundation of `serve`
how do we pick up headers and transfer then to all get and post requests we starting the server with npx serve -s build -l 8006 --cors & we proved...
`serve.json`: ````json { "rewrites": [ { "source": "foo/:rest*", "destination": "/:rest*" } ] } ```` If we were to query `localhost:5000/foo/bar/quz/cux.json` `fallback` would end up being `/bar%2Fquz%2Fcux.json` which is never found...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
This PR is aiming to address #60, since there hasn't been much conversation around it yet. I tried to match the error responses as closely as possible to the surrounding...
In response to issue #153 I have added the ability to preserve query and hash strings upon redirect. This is useful for SEO purposes.
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...
It was not clear from the docs when the "rewrites" do actually apply. I'm not sure if my explanation is 100% correct, but probably in most cases.
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...