fix: update STATIC_URL to use an absolute path for correct static file resolution

This commit is contained in:
2026-04-05 12:07:06 -03:00
parent 47821c4f71
commit aec59990a7

View File

@@ -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")