diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-02 07:24:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 07:24:07 -0400 |
commit | 3bd2a2cbb1adffdbd0783ec58e88511cb4e90735 (patch) | |
tree | 1d292f6bed62e31a16de13020d57bb2eca3d7406 /demo/start.sh | |
parent | Add unit test for event persister sharding (#8433) (diff) | |
download | synapse-3bd2a2cbb1adffdbd0783ec58e88511cb4e90735.tar.xz |
Include a public_baseurl in configs generated by the demo script. (#8443)
Diffstat (limited to '')
-rwxr-xr-x | demo/start.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/start.sh b/demo/start.sh index 83396e5c33..f6b5ea137f 100755 --- a/demo/start.sh +++ b/demo/start.sh @@ -30,6 +30,8 @@ for port in 8080 8081 8082; do if ! grep -F "Customisation made by demo/start.sh" -q $DIR/etc/$port.config; then printf '\n\n# Customisation made by demo/start.sh\n' >> $DIR/etc/$port.config + echo "public_baseurl: http://localhost:$port/" >> $DIR/etc/$port.config + echo 'enable_registration: true' >> $DIR/etc/$port.config # Warning, this heredoc depends on the interaction of tabs and spaces. Please don't |