api: support serving API behind a reverse proxy

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2026-01-15 09:54:29 +01:00
parent 22563c2113
commit ab5c5f4fbc
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ app = FastAPI(
title="Dough Calculator API",
description="""Calculate bread ingredient proportions
based on baker's percentages""",
version="1.0.0"
version="1.0.0",
root_path="/api"
)
settings = Settings()