fix static url

This commit is contained in:
2021-03-03 21:53:47 +00:00
parent 6686ff8c15
commit 19272b1b29

View File

@@ -184,7 +184,7 @@ LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.0/howto/static-files/ # https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = "/static/" STATIC_URL = "/assets/"
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
STATIC_ROOT = "assets/" STATIC_ROOT = "assets/"