Skip to content

Commit

Permalink
fix: allow specifying API_PREFIX if behind proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 12, 2023
1 parent cffebb9 commit ba9c2e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def get_application() -> FastAPI:
"url": "https://raw.githubusercontent.com/hotosm/fmtm/main/LICENSE",
},
debug=settings.DEBUG,
root_path=settings.API_PREFIX,
)

# Set custom logger
Expand Down

0 comments on commit ba9c2e5

Please sign in to comment.