allow setting backend only env to false.
This commit is contained in:
parent
d1f537f50c
commit
b1a8899407
@ -48,7 +48,7 @@ def asset(
|
||||
The relative URL to the asset.
|
||||
"""
|
||||
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
|
||||
if not shared:
|
||||
|
Loading…
Reference in New Issue
Block a user