Adding defunct changes. Still testing.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user