api: support serving API behind a reverse proxy
Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
22563c2113
commit
ab5c5f4fbc
3
main.py
3
main.py
|
|
@ -8,7 +8,8 @@ app = FastAPI(
|
||||||
title="Dough Calculator API",
|
title="Dough Calculator API",
|
||||||
description="""Calculate bread ingredient proportions
|
description="""Calculate bread ingredient proportions
|
||||||
based on baker's percentages""",
|
based on baker's percentages""",
|
||||||
version="1.0.0"
|
version="1.0.0",
|
||||||
|
root_path="/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
settings = Settings()
|
settings = Settings()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue