mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Fix default paths in InvenTree settings
This commit is contained in:
parent
d85b906560
commit
725d26d76f
@ -191,7 +191,7 @@ STATIC_URL = '/static/'
|
|||||||
STATIC_ROOT = os.path.abspath(
|
STATIC_ROOT = os.path.abspath(
|
||||||
get_setting(
|
get_setting(
|
||||||
'INVENTREE_STATIC_ROOT',
|
'INVENTREE_STATIC_ROOT',
|
||||||
CONFIG.get('static_root', '/home/inventree/static')
|
CONFIG.get('static_root', '/home/inventree/data/static')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ media_root: '/home/inventree/data/media'
|
|||||||
# STATIC_ROOT is the local filesystem location for storing static files
|
# STATIC_ROOT is the local filesystem location for storing static files
|
||||||
# By default, it is stored under /home/inventree
|
# By default, it is stored under /home/inventree
|
||||||
# Use environment variable INVENTREE_STATIC_ROOT
|
# Use environment variable INVENTREE_STATIC_ROOT
|
||||||
static_root: '/home/inventree/static'
|
static_root: '/home/inventree/data/static'
|
||||||
|
|
||||||
# Optional URL schemes to allow in URL fields
|
# Optional URL schemes to allow in URL fields
|
||||||
# By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps']
|
# By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user