diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-03-02 20:32:26 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-04 18:27:32 +0200 |
commit | 423f5075ccd0fa77250734c81ac7158ac8f533f2 (patch) | |
tree | a591f311ed6986c0573617f8a576f21afcc2c414 /server/src/leap | |
parent | 1928670f38c1ffcf1570402acd241ce173c53013 (diff) |
[bug] fix resource parameter
Diffstat (limited to 'server/src/leap')
-rw-r--r-- | server/src/leap/soledad/server/_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/leap/soledad/server/_resource.py b/server/src/leap/soledad/server/_resource.py index 04bb4fba..7a00ad9a 100644 --- a/server/src/leap/soledad/server/_resource.py +++ b/server/src/leap/soledad/server/_resource.py @@ -19,7 +19,7 @@ A twisted resource that serves the Soledad Server. """ from twisted.web.resource import Resource -from ._blobs import BlobsResource +from ._blobs import blobs_resource from ._server_info import ServerInfo from ._wsgi import get_sync_resource @@ -74,7 +74,7 @@ class SoledadResource(Resource): # requests to /blobs will serve blobs if enabled if enable_blobs: - self.putChild('blobs', BlobsResource()) + self.putChild('blobs', blobs_resource) # other requests are routed to legacy sync resource self._sync_resource = get_sync_resource(sync_pool) |