Static files dir hosting #1822
-
I'm struggling to understand axum's static file hosting. This works:
But this (straight from the examples) fails with
What am I doing wrong? And how does this differ from the examples in repo? |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Mar 6, 2023
Replies: 1 comment 1 reply
-
You're using an old version of tower-http most likely. Make sure you're using the same version as the examples (0.4) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bmarcj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're using an old version of tower-http most likely. Make sure you're using the same version as the examples (0.4)