Skip to content

Commit

Permalink
chore: static 파일 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertImKr committed Oct 2, 2024
1 parent 5654e3a commit feba121
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions weaverse/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit feba121

Please sign in to comment.