mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 15:39:27 -05:00
Add ports back to demo/start.sh
This commit is contained in:
parent
9c61556504
commit
c81a19552f
@ -16,7 +16,7 @@ if [ $# -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for port in 8080; do
|
for port in 8080 8081 8082; do
|
||||||
echo "Starting server on port $port... "
|
echo "Starting server on port $port... "
|
||||||
|
|
||||||
https_port=$((port + 400))
|
https_port=$((port + 400))
|
||||||
|
@ -80,7 +80,7 @@ class SyncRestServlet(RestServlet):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def on_GET(self, request):
|
def on_GET(self, request):
|
||||||
user = yield self.auth.get_user_by_req(request)
|
user, client = yield self.auth.get_user_by_req(request)
|
||||||
|
|
||||||
timeout = self.parse_integer(request, "timeout", default=0)
|
timeout = self.parse_integer(request, "timeout", default=0)
|
||||||
limit = self.parse_integer(request, "limit", required=True)
|
limit = self.parse_integer(request, "limit", required=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user