-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
EmbeddedFilesEndpoint not working for index.html in subdirectory #824
Labels
bug
Something isn't working
Comments
中文版本: 我在Cargo.toml的相同层级下有如下两个文件:
然后我写了如下代码:
当我访问 |
This was referenced May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following two files at the same level of Cargo.toml:
Then I wrote the following code:
When I visit
http:https://127.0.0.1:3000/static
, the program can getstatic/index.html
correctly.When I visit
http:https://127.0.0.1:3000/static/test/index.html
, the program can also getstatic/test/index.html
correctly.But when I visit
http:https://127.0.0.1:3000/static/test
andhttp:https://127.0.0.1:3000/static/test/
, I get 404 errors. But they should be correctly redirected tostatic/test/index.html
just likestatic/index.html
.I think this is a bug.
The text was updated successfully, but these errors were encountered: