aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-14 18:36:17 -0500
committerJesús <heckyel@hyperbola.info>2021-08-14 18:36:17 -0500
commit06315e3e0207f2ba7cbeb01134824b149095d8a4 (patch)
treebc68741f24ffcc4cbab88d7efc6a39f59c26b606 /settings.py
parentef66da4d2736c6eaf2b462aae55dfc19a037bd06 (diff)
downloadyt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.tar.lz
yt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.tar.xz
yt-local-06315e3e0207f2ba7cbeb01134824b149095d8a4.zip
[opensearch]: improve
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py14
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,