vercel/serve

Make redirections support query strings

Open

#393 opened on May 30, 2018

View on GitHub
 (6 comments) (5 reactions) (0 assignees)TypeScript (8,811 stars) (719 forks)batch import
help wantedpatch

Description

I've been using version 6.5.8 and I was able to serve URLs with query string, example: http://localhost:5000/code.html?26482

The query string "?26482" is missing a parameter name, and that's intentional because it's the only way it works.

Adding the parameter causes it to serve without the query string, try: http://localhost:5000/code.html?id=26482 for instance.

When updated to version 7, none of this works (with parameter and without parameter).

Contributor guide