mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
fix(static): collectstatic writes to staticfiles/, and its output is no longer committed
This commit is contained in:
parent
841c412f76
commit
7639d21ec4
134 changed files with 52 additions and 11155 deletions
|
|
@ -192,7 +192,10 @@ USE_TZ = True
|
|||
|
||||
STATIC_URL = "/static/"
|
||||
|
||||
STATIC_ROOT = Path.joinpath(BASE_DIR, "static")
|
||||
# Source assets live in static/; collectstatic gathers them with the apps'
|
||||
# assets into staticfiles/ (gitignored), which WhiteNoise and nginx serve.
|
||||
STATICFILES_DIRS = [BASE_DIR / "static"]
|
||||
STATIC_ROOT = BASE_DIR / "staticfiles"
|
||||
|
||||
|
||||
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue