🚧 WIP
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ class AppConfig(BaseModel):
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
||||||
app = FastAPI(title="Bo hemma-avi")
|
app = FastAPI(root_path_in_servers=False, root_path=os.getenv("ROOT_PATH", ""), title="Bo hemma-avi")
|
||||||
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
||||||
templates = Jinja2Templates(directory="app/templates")
|
templates = Jinja2Templates(directory="app/templates")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user