serve
serve copied to clipboard
Cannot serve index.html when path contains dot
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.
- Unzip and change directory:
$ unzip serve-bug-report.zip
$ cd serve-bug-report
- 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
I met the same problem, any updates from zeit team?
Still relevant 👍
same problem,still exist now
Related: https://github.com/vercel/serve-handler/issues/133