mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
Update settings.py
This commit is contained in:
+4
-5
@@ -208,6 +208,10 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
|
||||
# 256MB
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 268435456
|
||||
# REST API only mode
|
||||
# Set MOBSF_API_ONLY to 1 to enable REST API only mode
|
||||
# In this mode, web UI related urls are disabled.
|
||||
API_ONLY = os.getenv('MOBSF_API_ONLY', '0')
|
||||
|
||||
# ===================
|
||||
# USER CONFIGURATION
|
||||
@@ -227,11 +231,6 @@ else:
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
# MOBSF USER CONFIGURATIONS
|
||||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
# REST API only mode
|
||||
# Set MOBSF_API_ONLY to 1 to enable REST API only mode
|
||||
# In this mode, web UI related urls are disabled.
|
||||
API_ONLY = os.getenv('MOBSF_API_ONLY', '0')
|
||||
# -------------------------
|
||||
# STATIC ANALYZER SETTINGS
|
||||
# -------------------------
|
||||
|
||||
Reference in New Issue
Block a user