mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Merge pull request #2423 from SchrodingersGat/maintenance-mode-state-file
Adjustments for maintenance-mode options:
This commit is contained in:
commit
07c88328ae
@ -215,10 +215,6 @@ MAINTENANCE_MODE_STATE_FILE_PATH = os.path.join(
|
|||||||
'maintenance_mode_state.txt',
|
'maintenance_mode_state.txt',
|
||||||
)
|
)
|
||||||
|
|
||||||
MAINTENANCE_MODE_IGNORE_ADMIN_SITE = True
|
|
||||||
|
|
||||||
MAINTENANCE_MODE_IGNORE_SUPERUSER = True
|
|
||||||
|
|
||||||
# List of allowed hosts (default = allow all)
|
# List of allowed hosts (default = allow all)
|
||||||
ALLOWED_HOSTS = CONFIG.get('allowed_hosts', ['*'])
|
ALLOWED_HOSTS = CONFIG.get('allowed_hosts', ['*'])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user