From 06315e3e0207f2ba7cbeb01134824b149095d8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 14 Aug 2021 18:36:17 -0500 Subject: [opensearch]: improve --- settings.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 751551b..a7dd398 100644 --- a/settings.py +++ b/settings.py @@ -8,6 +8,20 @@ import flask from flask import request SETTINGS_INFO = collections.OrderedDict([ + ('app_public', { + 'type': bool, + 'default': False, + 'comment': '''Set app public mode, disabled by default''', + 'hidden': True, + 'category': 'network', + }), + ('app_url', { + 'type': str, + 'default': 'http://localhost', + 'comment': '''Set URL of app 'http://localhost' by default''', + 'hidden': True, + 'category': 'network', + }), ('route_tor', { 'type': int, 'default': 0, -- cgit v1.2.3