diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-14 18:36:17 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-14 18:36:17 -0500 |
commit | 06315e3e0207f2ba7cbeb01134824b149095d8a4 (patch) | |
tree | bc68741f24ffcc4cbab88d7efc6a39f59c26b606 /settings.py | |
parent | ef66da4d2736c6eaf2b462aae55dfc19a037bd06 (diff) | |
download | yt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.tar.lz yt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.tar.xz yt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.zip |
[opensearch]: improve
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 14 |
1 files changed, 14 insertions, 0 deletions
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, |