Skip to content
New issue

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

'miniserve --index index.html' gives 404 when index.html is not present in a directory. #275

Closed
KSXGitHub opened this issue Mar 15, 2020 · 0 comments · Fixed by #583
Closed

Comments

@KSXGitHub
Copy link
Contributor

Steps to reproduce

mkdir -p public/sub
echo 'Hello There' > public/sub/index.html
cd public # public does not contain an index.html
miniserve -i 8080 --index index.html .

Open the browser, go to http://localhost:8080/ and http://localhost:8080/sub/.

Expected behavior

Actual behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant