Fix: Fixed support for WGDashboardClient, now its static files are processed separately

This commit is contained in:
leviofanh
2025-12-18 06:40:52 +01:00
parent 721ac89420
commit f58e572558
3 changed files with 13 additions and 3 deletions

View File

@@ -255,7 +255,8 @@ def auth_req():
'getDashboardTheme', 'getDashboardVersion', 'sharePeer/get', 'isTotpEnabled', 'locale',
'/fileDownload',
'/client',
'/assets/', '/img/', '/json/'
'/assets/', '/img/', '/json/',
'/client/assets/', '/client/img/'
]
if (("username" not in session or session.get("role") != "admin")