diff --git a/app/icons/support.svg b/app/icons/support.svg new file mode 100644 index 0000000..d82c7ba --- /dev/null +++ b/app/icons/support.svg @@ -0,0 +1 @@ + diff --git a/app/icons/system.svg b/app/icons/system.svg new file mode 100644 index 0000000..72ef9aa --- /dev/null +++ b/app/icons/system.svg @@ -0,0 +1 @@ + diff --git a/app/icons/zeus.svg b/app/icons/zeus.svg new file mode 100644 index 0000000..5155440 --- /dev/null +++ b/app/icons/zeus.svg @@ -0,0 +1 @@ + diff --git a/app/sovran_systemsos_web/server.py b/app/sovran_systemsos_web/server.py index bbc79b8..3d37110 100644 --- a/app/sovran_systemsos_web/server.py +++ b/app/sovran_systemsos_web/server.py @@ -224,12 +224,6 @@ _BASE_DIR = os.path.dirname(os.path.abspath(__file__)) app = FastAPI(title="Sovran_SystemsOS Hub") -app.mount( - "/static", - StaticFiles(directory=os.path.join(_BASE_DIR, "static")), - name="static", -) - _ICONS_DIR = os.environ.get( "SOVRAN_HUB_ICONS", os.path.join(os.path.dirname(_BASE_DIR), "icons"), @@ -241,6 +235,12 @@ if os.path.isdir(_ICONS_DIR): name="icons", ) +app.mount( + "/static", + StaticFiles(directory=os.path.join(_BASE_DIR, "static")), + name="static", +) + templates = Jinja2Templates(directory=os.path.join(_BASE_DIR, "templates")) # ── Static asset cache-busting ────────────────────────────────────