diff --git a/weaverse/settings.py b/weaverse/settings.py index 440c90f..6922eff 100644 --- a/weaverse/settings.py +++ b/weaverse/settings.py @@ -113,6 +113,12 @@ USE_TZ = True STATIC_URL = "static/" +STATIC_ROOT = os.getenv("STATIC_ROOT", BASE_DIR / "static") +STATICFILES_DIRS = os.getenv("STATICFILES_DIRS", [BASE_DIR / "staticfiles"]) + +CSRF_TRUSTED_ORIGINS = [ + "https://www.weaverse.site", +] DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"