mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-27 08:35:22 +00:00
static_root and static_dirs fix
This commit is contained in:
parent
9755f307a6
commit
6974eae62e
1 changed files with 6 additions and 5 deletions
|
@ -123,11 +123,12 @@ USE_TZ = True
|
||||||
STATIC_URL = "/static/"
|
STATIC_URL = "/static/"
|
||||||
|
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
STATIC_ROOT = Path.joinpath(BASE_DIR, "static")
|
STATIC_ROOT = ""
|
||||||
else:
|
|
||||||
STATICFILES_DIRS = [
|
STATICFILES_DIRS = [
|
||||||
Path.joinpath(BASE_DIR, "static"),
|
Path.joinpath(BASE_DIR, "static"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')
|
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue