summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/configurable.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2016-08-04 19:04:09 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-01 01:41:16 -0400
commit50a258d45e851a865801da9d888037b5869a3489 (patch)
tree39a797a6ffa7b0d90037ce0497621c96e90dcb2f /src/leap/bitmask/core/configurable.py
parent720ac7cab46f57971c71d2d2aec8235a47a53582 (diff)
[feat] add web/js core API
Implements http REST API for the core and bitmask.js generic library to use this API. For events it uses long polling. - Resolves: #8265
Diffstat (limited to 'src/leap/bitmask/core/configurable.py')
-rw-r--r--src/leap/bitmask/core/configurable.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/core/configurable.py b/src/leap/bitmask/core/configurable.py
index 8e33de95..8bd2ecfb 100644
--- a/src/leap/bitmask/core/configurable.py
+++ b/src/leap/bitmask/core/configurable.py
@@ -38,7 +38,7 @@ class MissingConfigEntry(Exception):
class ConfigurableService(service.MultiService):
config_file = u"bitmaskd.cfg"
- service_names = ('mail', 'eip', 'zmq', 'web')
+ service_names = ('mail', 'eip', 'zmq', 'web', 'websockets')
def __init__(self, basedir=DEFAULT_BASEDIR):
service.MultiService.__init__(self)
@@ -102,5 +102,6 @@ DEFAULT_CONFIG = """
mail = True
eip = True
zmq = True
-web = False
+web = True
+websockets = False
"""