~homeworkprod/byceps

c1237bcee245feb2e0ce64b2d9a7319b9440cf0f — Jochen Kupperschmidt 4 years ago 35b2590
Access site ID via config helper
1 files changed, 1 insertions(+), 1 deletions(-)

M app.py
M app.py => app.py +1 -1
@@ 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)