Skip to content
Snippets Groups Projects

make root path configurable

Merged Tim Repke requested to merge master into production
2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
0
@@ -21,6 +21,8 @@ class ServerConfig(BaseModel):
WORKERS: int = 2 # number of worker processes
STATIC_FILES: str = '../nacsos-web/dist/' # path to the static files to be served
OPENAPI_FILE: str = '/openapi.json' # absolute URL path to openapi.json file
OPENAPI_PREFIX: str = '' # see https://fastapi.tiangolo.com/advanced/behind-a-proxy/
ROOT_PATH: str = '' # see https://fastapi.tiangolo.com/advanced/behind-a-proxy/
HASH_ALGORITHM: str = 'HS256'
SECRET_KEY: str = secrets.token_urlsafe(32)
Loading