Skip to content

Commit

Permalink
Merge pull request #14 from breakmagazine/feat/deploy
Browse files Browse the repository at this point in the history
fix: static 경로 추가
  • Loading branch information
yjoonjang authored May 25, 2024
2 parents ac0f2df + a750a52 commit 501d0f9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion breakserver/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,14 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/

STATIC_URL = "static/"
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")

STATIC_URL = "/static/"

STATICFILES_DIRS = [
# os.path.join(BASE_DIR, 'myapp/static'),
# 여기에 추가적인 정적 파일 디렉토리 경로를 추가할 수 있습니다.
]

# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Expand Down

0 comments on commit 501d0f9

Please sign in to comment.