We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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"
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? 🤔
The text was updated successfully, but these errors were encountered:
Aha, this seems to do it.
module.exports = { server: { middleware: { 1: null, }, }, };
lite-server --baseDir="deploy" -c "./bs-config.js"
It would be great if this was just a CLI option, but at least it works now :)
Sorry, something went wrong.
No branches or pull requests
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? 🤔
The text was updated successfully, but these errors were encountered: