Skip to content

Commit

Permalink
fix static
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoviyDev committed Feb 24, 2025
1 parent 99da510 commit 74390f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ health_metrics
health_data
zerofcks.db
.idea
staticfiles
4 changes: 3 additions & 1 deletion zerofcks/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/

STATIC_URL = "static/"
STATIC_URL = "/static/"
STATICFILES_DIRS = [BASE_DIR / "static"]
STATIC_ROOT = BASE_DIR / "staticfiles"

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

0 comments on commit 74390f9

Please sign in to comment.