chore: add in the WGDashboard assets

This commit is contained in:
DaanSelen
2026-03-03 16:52:35 +01:00
parent 9687c11db6
commit 9e69a066b5
274 changed files with 45296 additions and 12 deletions
+5 -1
View File
@@ -39,7 +39,11 @@ if __name__ == '__main__':
prefix = config_server.get('app_prefix', '')
# Configure the Flask app
app = flask.Flask("WGDashboard", template_folder=os.path.abspath("./static/dist/WGDashboardAdmin"))
app = flask.Flask(
"WGDashboard",
template_folder=os.path.abspath("./static/dist/WGDashboardAdmin"),
static_folder=os.path.abspath("./static/dist/WGDashboardAdmin")
)
app.register_blueprint(routes, url_prefix=prefix)
app.wgd_config = config_contents