Skip to content

Commit 057dd1d

Browse files
committed
Resolve static files issue
1 parent 268b740 commit 057dd1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

task_manager/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
# Static files (CSS, JavaScript, Images)
137137
# https://docs.djangoproject.com/en/5.2/howto/static-files/
138138

139-
STATIC_ROOT = '/app/staticfiles'
140-
STATIC_URL = 'static/'
139+
STATIC_URL = "/static/"
140+
STATIC_ROOT = BASE_DIR / "staticfiles"
141141
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage" # render
142142

143143
# Default primary key field type

0 commit comments

Comments
 (0)