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
dev-http server with 'classpath:foo' config no longer defaults to index.html #1064
Comments
Cheers! |
Hi. I just had a go with this and it is still not quite right. Given but, if I go to http://host:port/bar it resolves index.html from foo, not foo/bar. I have to type in http://host:port/bar/index.html to get the foo/bar index.html file |
Hmm so this is sort of how its meant to work. Since the assumption is that the client does the "routing" internally, ie. page rendered by JS. So, whenever the request at the handler it just checks the root for an index.html and serves that. Didn't think people used any actual nested index.html files. You can get the old behavior back by setting |
Thanks I tried |
I just upgraded to 2.20.10 and now I have to manually add 'index.html' to the url
The text was updated successfully, but these errors were encountered: