Skip to content
  • Paul Tomasula's avatar
    Add URL_PREFIX for fastapi root_path · 811eac01
    Paul Tomasula authored
    When FastAPI is behind a proxy (as with this deployment) you need to specify a root_path kwarg to allow fastapi to properly serve static files, handle reroutes, etc. This add conditional check for URL_PREFIX env var and adds if specified.
    811eac01
Loading