mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-08-04 06:52:58 +00:00
chore: add in the WGDashboard assets
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user