Adding defunct changes. Still testing.

This commit is contained in:
Michael Woods
2025-12-24 19:52:14 -05:00
parent f8685230c4
commit 31ea05e3cb
2 changed files with 45 additions and 75 deletions

View File

@@ -4,7 +4,7 @@ from fastapi.staticfiles import StaticFiles
from fastapi.templating import Jinja2Templates
from pathlib import Path
from .routers import public, profile, messages, send, bulletins
from .routers import public, profile, messages, send
from packetserver.http.routers.bulletins import html_router
BASE_DIR = Path(__file__).parent.resolve()
@@ -36,7 +36,7 @@ templates.env.filters["timestamp_to_date"] = timestamp_to_date
app.mount("/static", StaticFiles(directory=BASE_DIR / "static"), name="static")
# Now safe to import dashboard (it needs templates)
from .routers import dashboard # add this line
from .routers import dashboard, bulletins
# Include routers
app.include_router(public.router)