vercel/serve

Make redirections support query strings

Open

#393 创建于 2018年5月30日

在 GitHub 查看
 (6 评论) (5 反应) (0 负责人)TypeScript (8,811 star) (719 fork)batch import
help wantedpatch

描述

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

贡献者指南

Make redirections support query strings · vercel/serve#393 | Good First Issue