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
file path: ./public/hello/你好/index.html will return 404 when accessing to http://serving_domain/hello/你好
app.static('/', './public', index='index.html')
redirect to ./public/hello/你好/index.html instead of 404 page
As a script (app.run or Sanic.serve)
app.run
Sanic.serve
Linux
24.6.0
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Describe the bug
file path:
./public/hello/你好/index.html
will return 404 when accessing to http://serving_domain/hello/你好
Code snippet
app.static('/', './public', index='index.html')
Expected Behavior
redirect to ./public/hello/你好/index.html instead of 404 page
How do you run Sanic?
As a script (
app.run
orSanic.serve
)Operating System
Linux
Sanic Version
24.6.0
Additional context
No response
The text was updated successfully, but these errors were encountered: