johnpapa / johnpapa/lite-server

Disable SPA handling?

Open
#193 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
262
PR merge metrics
No merged PRs in 30d

Description

This seems like a great project, but I can't get simple subfolder paths to work for a static HTML website. No JS, no SPA.

Start server with `lite-server --baseDir="deploy"`

When I then open http://localhost:3002/articles/, I get the home page of the site. I have to specially open http://localhost:3002/articles/index.html to see the page I expected. How can I solve this? Seems like weird behavior? 🤔

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.