summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-13 15:57:58 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-13 15:57:58 +0100
commit2da1e1526ecff27a24de3701a8f472f53c7415e8 (patch)
treed5f2bec74797a900babbb901ef91b7c37ff18cf2 /synapse/app
parentMerge branch 'master' of github.com:matrix-org/synapse (diff)
downloadsynapse-2da1e1526ecff27a24de3701a8f472f53c7415e8.tar.xz
Don't pass host_web_client flag to register_servlets, it needs to be a Resource not a RestServlet.
Diffstat (limited to 'synapse/app')
-rw-r--r--synapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index f89b4652e3..82afb04c7d 100644
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -148,7 +148,7 @@ def setup():
     # the replication layer
     hs.get_federation()
 
-    hs.register_servlets(host_web_client=args.webclient)
+    hs.register_servlets()
 
     hs.get_http_server().start_listening(args.port)