allow setting backend only env to false.

This commit is contained in:
Benedikt Bartscher 2024-07-11 15:52:00 +02:00
parent d1f537f50c
commit b1a8899407
No known key found for this signature in database

View File

@ -48,7 +48,7 @@ def asset(
The relative URL to the asset. The relative URL to the asset.
""" """
assets = constants.Dirs.APP_ASSETS assets = constants.Dirs.APP_ASSETS
backend_only = os.environ.get(constants.ENV_BACKEND_ONLY) backend_only = os.environ.get(constants.ENV_BACKEND_ONLY, "false").lower() == "true"
# Local asset handling # Local asset handling
if not shared: if not shared: