summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/leap/soledad/server/_resource.py4
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)