mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
static_root and static_dirs fix
This commit is contained in:
@@ -123,11 +123,12 @@ USE_TZ = True
|
||||
STATIC_URL = "/static/"
|
||||
|
||||
if not DEBUG:
|
||||
STATIC_ROOT = Path.joinpath(BASE_DIR, "static")
|
||||
else:
|
||||
STATICFILES_DIRS = [
|
||||
Path.joinpath(BASE_DIR, "static"),
|
||||
]
|
||||
STATIC_ROOT = ""
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
Path.joinpath(BASE_DIR, "static"),
|
||||
]
|
||||
|
||||
|
||||
BS_ICONS_CACHE = Path.joinpath(BASE_DIR, 'static/icon_cache')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user