summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/server.tac
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-11-13 21:14:01 -0200
committerdrebs <drebs@riseup.net>2017-11-14 19:01:15 -0200
commit129f14dd59abf24f6f0801ee256dc5909850bc20 (patch)
tree9bb8b746dc1f3ca1fbdb4fb7ca926aa7f5591b4b /src/leap/soledad/server/server.tac
parent96899cdf89463b884b16a3c0bc2f5b698c4c221c (diff)
[refactor] rename entrypoints to match design docs
Diffstat (limited to 'src/leap/soledad/server/server.tac')
-rw-r--r--src/leap/soledad/server/server.tac4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/server/server.tac b/src/leap/soledad/server/server.tac
index 1a4e53ee..efaca790 100644
--- a/src/leap/soledad/server/server.tac
+++ b/src/leap/soledad/server/server.tac
@@ -12,7 +12,7 @@ application = service.Application('soledad-server')
# local entrypoint
local_port = os.getenv('LOCAL_SERVICES_PORT', 2525)
local_description = 'tcp:%s:interface=127.0.0.1' % local_port
-local_site = server.Site(entrypoints.LocalServicesEntrypoint())
+local_site = server.Site(entrypoints.ServicesEntrypoint())
local_server = strports.service(local_description, local_site)
local_server.setServiceParent(application)
@@ -39,7 +39,7 @@ else:
log.err("HTTPS_PORT env var is required to be set!")
sys.exit(20)
-public_site = server.Site(entrypoints.SoledadEntrypoint())
+public_site = server.Site(entrypoints.UsersEntrypoint())
public_server = strports.service(public_description, public_site)
public_server.setServiceParent(application)