Don't pass host_web_client flag to register_servlets, it needs to be a Resource not a RestServlet.

This commit is contained in:
Kegan Dougal 2014-08-13 15:57:58 +01:00
parent 38c7e92331
commit 2da1e1526e
2 changed files with 2 additions and 4 deletions

View file

@ -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)