2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Fix default paths in InvenTree settings

This commit is contained in:
Oliver Walters 2021-06-16 23:03:09 +10:00
parent d85b906560
commit 725d26d76f
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ STATIC_URL = '/static/'
STATIC_ROOT = os.path.abspath(
get_setting(
'INVENTREE_STATIC_ROOT',
CONFIG.get('static_root', '/home/inventree/static')
CONFIG.get('static_root', '/home/inventree/data/static')
)
)

View File

@ -131,7 +131,7 @@ media_root: '/home/inventree/data/media'
# STATIC_ROOT is the local filesystem location for storing static files
# By default, it is stored under /home/inventree
# 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
# By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps']