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

.html is stripped along with query params from URL

Open mdtausifiqbal opened this issue 3 years ago • 2 comments

When visiting localhost:3000/foo.html?query=bar serve strips the .html?query=bar

Library version of serve is 14.0.1

mdtausifiqbal avatar Oct 20 '22 06:10 mdtausifiqbal

Original issue: https://github.com/vercel/serve/issues/732

Can't use serve at the moment. It breaks apps.

trusktr avatar Jan 13 '23 19:01 trusktr

I think setting cleanUrls option to false stops this from happening.

thorsent avatar Mar 23 '23 21:03 thorsent