Skip to content

Commit

Permalink
Switch staticfilesdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
israelias committed Sep 1, 2023
1 parent 4d85492 commit 115f35d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
DEFAULT_FILE_STORAGE = "django.core.files.storage.FileSystemStorage"

# STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),)
STATICFILES_DIRS = [
str(BASE_DIR / "static"),
"/var/www/static/",
]
STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),)
# STATICFILES_DIRS = [
# str(BASE_DIR / "static"),
# "/var/www/static/",
# ]

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

3 comments on commit 115f35d

@vercel
Copy link

@vercel vercel bot commented on 115f35d Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 115f35d Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 115f35d Sep 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.