serve icon indicating copy to clipboard operation
serve copied to clipboard

Cannot serve index.html when path contains dot

Open hermanzdosilovic opened this issue 7 years ago • 5 comments

Hi,

I noticed that serve doesn't serve HTML files when there is a dot (.) in path.

To reproduce this error I have attached following ZIP: serve-bug-report.zip.

  1. Unzip and change directory:
$ unzip serve-bug-report.zip
$ cd serve-bug-report
  1. Run Serve:
$ serve

Try to open http://localhost:5000/v0.2.1/index.html and http://localhost:5000/v1/index.html

I am using Serve 9.2.0, installed with Yarn 1.7.0 on Arch Linux 4.17.3-1 x86_64

Best regards, Herman

hermanzdosilovic avatar Jul 08 '18 14:07 hermanzdosilovic

I met the same problem, any updates from zeit team?

yorkie avatar Dec 29 '18 06:12 yorkie

Still relevant 👍

dimitrisnl avatar Jul 11 '19 13:07 dimitrisnl

same problem,still exist now

DHclly avatar Sep 24 '19 08:09 DHclly

Related: https://github.com/vercel/serve-handler/issues/133

favoyang avatar Oct 01 '20 02:10 favoyang