mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-06 22:14:12 +00:00
fix: update STATIC_URL to use an absolute path for correct static file resolution
This commit is contained in:
@@ -164,7 +164,7 @@ DATE_FORMAT = "d/m/Y - H:M"
|
|||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = "static/"
|
STATIC_URL = "/static/"
|
||||||
STATICFILES_DIRS = (os.path.join(BASE_DIR, "templates/static"),)
|
STATICFILES_DIRS = (os.path.join(BASE_DIR, "templates/static"),)
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user