From 9e9698520a3ca428aa1378fc618f1bd317ad6b03 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Mon, 8 Nov 2021 15:18:29 +0000 Subject: [PATCH] updating synapse start script to also override the homeserver url and fixing wrong argument placement --- .github/workflows/sanity_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sanity_test.yml b/.github/workflows/sanity_test.yml index ce39f5271c..497504130e 100644 --- a/.github/workflows/sanity_test.yml +++ b/.github/workflows/sanity_test.yml @@ -48,8 +48,8 @@ jobs: python3 -m venv .synapse source .synapse/bin/activate pip install synapse matrix-synapse - curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh --no-rate-limit \ - | sed s/127.0.0.1/0.0.0.0/g | bash + curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh \ + | sed s/127.0.0.1/0.0.0.0/g | sed 's/http:\/\/localhost/http:\/\/10.0.2.2/g' | bash -s -- --no-rate-limit - uses: actions/setup-java@v2 with: distribution: 'adopt'