Trying to bring back default css
This commit is contained in:
1
main.py
1
main.py
@@ -67,6 +67,7 @@ templates = Jinja2Templates(directory=TEMPLATES_DIR)
|
||||
app.add_middleware(SessionMiddleware, secret_key=settings.ENCRYPTION_KEY)
|
||||
|
||||
# Mount the 'static' directory using an absolute path for reliability
|
||||
# This MUST be done before the routes that depend on it are defined.
|
||||
app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
|
||||
|
||||
# Add the authentication router
|
||||
|
||||
Reference in New Issue
Block a user