Trying to bring back default css
This commit is contained in:
@@ -29,7 +29,6 @@ class ListenerManager:
|
|||||||
channel_name=user.username,
|
channel_name=user.username,
|
||||||
client_id=settings.TWITCH_CLIENT_ID,
|
client_id=settings.TWITCH_CLIENT_ID,
|
||||||
client_secret=settings.TWITCH_CLIENT_SECRET,
|
client_secret=settings.TWITCH_CLIENT_SECRET,
|
||||||
bot_id=user.id,
|
|
||||||
websocket_manager=websocket_manager,
|
websocket_manager=websocket_manager,
|
||||||
db_user_id=user.id
|
db_user_id=user.id
|
||||||
)
|
)
|
||||||
|
|||||||
1
main.py
1
main.py
@@ -67,6 +67,7 @@ templates = Jinja2Templates(directory=TEMPLATES_DIR)
|
|||||||
app.add_middleware(SessionMiddleware, secret_key=settings.ENCRYPTION_KEY)
|
app.add_middleware(SessionMiddleware, secret_key=settings.ENCRYPTION_KEY)
|
||||||
|
|
||||||
# Mount the 'static' directory using an absolute path for reliability
|
# 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")
|
app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
|
||||||
|
|
||||||
# Add the authentication router
|
# Add the authentication router
|
||||||
|
|||||||
Reference in New Issue
Block a user