Make an entire directory accessible #4177
Answered
by
ThiefMaster
TheTechRobo
asked this question in
Q&A
-
We have an old static version of our site, we don't have the time to update it all to the dynamic version i.e. app.route(), fixing stylesheet links to url_for, etc. Is there a way to just treat a subdirectory as static HTML, i.e. not even having to use url_for for stylesheets? |
Beta Was this translation helpful? Give feedback.
Answered by
ThiefMaster
Jun 26, 2021
Replies: 1 comment 3 replies
-
You don't need flask for this. Just configure an alias on your webserver so those requests don't even hit your Flask app. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
TheTechRobo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need flask for this. Just configure an alias on your webserver so those requests don't even hit your Flask app.