Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/local/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/local/__init__.py')
-rw-r--r--sugar_network/local/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sugar_network/local/__init__.py b/sugar_network/local/__init__.py
index 2a149ad..c143c60 100644
--- a/sugar_network/local/__init__.py
+++ b/sugar_network/local/__init__.py
@@ -78,6 +78,12 @@ ipc_port = Option(
'port number to listen for incomming connections from IPC clients',
default=5001, type_cast=int)
+hub_root = Option(
+ 'path to Contributor Hub site directory to serve from /hub location '
+ 'for IPC clients to workaround lack of CORS for SSE while using Hub '
+ 'from file:// url',
+ default='/usr/share/sugar-network/hub')
+
def path(*args):
"""Calculate a path from the root.