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

The foundation of `serve`

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

Any plan on upgrading minimatch to latest to fix the vulnerable library? Serve relies on serve-handler version 6.1.3. https://github.com/vercel/serve/blob/13.0.2/package.json#L46 ```High minimatch minimatch.js braceExpand() Function Improper Regular Expression DoS Package minimatch...

Would be great to have proxy support for external APIs in this microservice world. This would also alleviate the pain of using CORs. Also in relation to issue #28 ```...

help wanted

Is it possible to do redirect from http to https using redirects? If so, how? Something like this ``` redirects: [{ source: "http://**", destination: 'https://**', type: 301 }] ``` but...

Here's the closest example to what I want to do for rewrites that I found: ``` { "rewrites": [ { "source": "/projects/:id/edit", "destination": "/edit-project-:id.html" }, ] } ``` What I...

In a SPA settings, I'm prerendering the some landing pages for SEO and perf. But I can't figure out the corresponding rewrites rules. So far, I've tried: ```json { "rewrites":...

it redirects urls like: `http://localhost:8000/abc/def/index.html` to `http://localhost:8000/abc/def` if `index.html` contains links like `File` browser resolves that links like: `http://localhost:8000/abc/file.html` instead of `http://localhost:8000/abc/def/file.html` **actual behaviour:** redirects `http://localhost:8000/abc/def/index.html` to `http://localhost:8000/abc/def` **expected behaviour:**...

`serve@^11` currently errors out when setting `symlinks: true`: ``` root@c3ee02fdad56:/app# serve --version 11.0.0 root@c3ee02fdad56:/app# serve -p 8000 -c ./serve.json INFO: Discovered configuration in `./serve.json` ERROR: The configuration you provided is...

when the config **cleanUrls** is set to true (by default) and the requested URL is a file name with an **extension** and has some **parameter** in it ex: ``` /index_2.html?foo&bar=1...

bug

Due to the direct use of `fs.lstat`, in acquiring similar D: \ when the file, Windows system folder "System Volume Information" method would result in an exception. ![1.png](https://i.loli.net/2019/11/23/ClnvVEuxYRirq8b.png) Perhaps you...

Hello Example: Say I have this redirect ``` { "redirects": [ { "source": "/some/old-path.html", "destination": "/new-path", "type": 301 } ] } ``` The result is ``` HTTP/1.1 301 Moved Permanently...