How to use with public static routes? #86
-
e.g. with the following, to allow access to index.html and whathaveyou JS, images etc.
|
Beta Was this translation helpful? Give feedback.
Answered by
LonelyVikingMichael
Jan 24, 2025
Replies: 2 comments
-
I haven't tested this, but I believe you can do this via the opt kwarg: create_static_files_router(..., opt={"exclude_from_auth": True}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
petri
-
Turns out this was straightforward to do by instead setting a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't tested this, but I believe you can do this via the opt kwarg: