From feba121551acd5cab88312174383da1361dc88c4 Mon Sep 17 00:00:00 2001 From: ALbertIM0427 Date: Wed, 2 Oct 2024 10:46:08 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20static=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weaverse/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) 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"