vercel/serve

Make redirections support query strings

Open

Aperta il 30 mag 2018

Vedi su GitHub
 (6 commenti) (5 reazioni) (0 assegnatari)TypeScript (8811 star) (719 fork)batch import
help wantedpatch

Descrizione

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).

Guida contributor