diff --git a/weaverse/settings.py b/weaverse/settings.py index 6922eff..1ed7d5e 100644 --- a/weaverse/settings.py +++ b/weaverse/settings.py @@ -114,7 +114,12 @@ STATIC_URL = "static/" STATIC_ROOT = os.getenv("STATIC_ROOT", BASE_DIR / "static") -STATICFILES_DIRS = os.getenv("STATICFILES_DIRS", [BASE_DIR / "staticfiles"]) + +STATICFILES_DIRS = os.getenv("STATICFILES_DIRS") +if STATICFILES_DIRS: + STATICFILES_DIRS = [path.strip() for path in STATICFILES_DIRS.split(",")] +else: + STATICFILES_DIRS = [BASE_DIR / "staticfiles"] CSRF_TRUSTED_ORIGINS = [ "https://www.weaverse.site",