From c1237bcee245feb2e0ce64b2d9a7319b9440cf0f Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Sun, 3 Mar 2019 16:46:57 +0100 Subject: [PATCH] Access site ID via config helper --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index f3d907e49..02f83837b 100644 --- a/app.py +++ b/app.py @@ -47,7 +47,7 @@ def _generate_static_files_exports(): yield url_path, str(path) # site-specific files - site_id = app.config.get('SITE_ID') + site_id = config.get_current_site_id(app) site_files_path = Path('sites') / site_id / 'static' yield config.STATIC_URL_PREFIX_SITE, str(site_files_path) -- 2.38.5