Skip to content

Commit

Permalink
chore: change static files path
Browse files Browse the repository at this point in the history
  • Loading branch information
fivehanz committed Dec 16, 2023
1 parent 60e9bd2 commit e973ad9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ console_command = "/app/manage.py shell"
processes = ["app"]

[[statics]]
guest_path = "/static/"
guest_path = "/staticfiles/"
url_prefix = "/static/"
2 changes: 1 addition & 1 deletion hanz/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
# See https://docs.djangoproject.com/en/5.0/ref/contrib/staticfiles/#manifeststaticfilesstorage
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"

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

MEDIA_ROOT = os.path.join(BASE_DIR, "media")
Expand Down

0 comments on commit e973ad9

Please sign in to comment.