Skip to content
Discussion options

You must be logged in to vote

You need a catch-all route like Route('/ui/{path:path}') or Mount('/ui', app). It will intercept all requests and route them to a endpoint that serves your HTML file.

https://www.starlette.io/routing/#path-parameters

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants