vercel/serve

Make redirections support query strings

Open

#393 ouverte le 30 mai 2018

Voir sur GitHub
 (6 commentaires) (5 réactions) (0 assignés)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).

Guide contributeur