From 6400deddbf405ef85a0e8848e4de402bec898431 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 3 Apr 2026 17:47:12 +0000
Subject: [PATCH] Fix hub icons: swap mount order and add system/support/zeus
SVGs
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/e3246ce1-14ce-4dad-98e9-74738a24ae30
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
---
app/icons/support.svg | 1 +
app/icons/system.svg | 1 +
app/icons/zeus.svg | 1 +
app/sovran_systemsos_web/server.py | 12 ++++++------
4 files changed, 9 insertions(+), 6 deletions(-)
create mode 100644 app/icons/support.svg
create mode 100644 app/icons/system.svg
create mode 100644 app/icons/zeus.svg
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 ────────────────────────────────────