Skip to content

Commit

Permalink
use root_path on fastapi app (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisher60 authored Jun 19, 2024
1 parent 61f5791 commit 1be7d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/abandonauth/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
app = FastAPI(
title="AbandonAuth",
version=pyproject["tool"]["poetry"]["version"],
root_path="/api"
)

allowed_origins = [settings.ABANDON_AUTH_SITE_URL]
Expand Down

0 comments on commit 1be7d15

Please sign in to comment.