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
static file would not send to browser correctly #331
Comments
This is happening because werkzeug's Although it could be argued this is "expected behaviour" it's also kind of counter-intuitive. Should we afford special precedence to the static directory over user-defined routes? |
Just to note, this is still relevant issue to the current |
Forked the gist just in case the OP accidentally removes it in the future: https://gist.github.com/jeffwidman/11d8b8d952abca30756ca4ba01909143 |
We could allow passing a different rule class to |
Hi,
I've got a issue about static file.
When I put css file in /static/css/style.css in static directory and I described view function with
Variable Rules
.Please see sample code on https://gist.github.com/1254213
GET /static/css/style.css
request dispatch to view function and css file did not send to browser correctly.I expected to
GET /static/css/style.css
should send css file to browser, not dispatch to view function.Regards.
The text was updated successfully, but these errors were encountered: