diff --git a/README.md b/README.md index 56a46d9..c98de65 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Starting the development environment with your container runtime should be as ea ```shell ./run.sh +make watch-js ``` diff --git a/lib/Service/MatrixService.php b/lib/Service/MatrixService.php index 4ca0aed..8fc905a 100644 --- a/lib/Service/MatrixService.php +++ b/lib/Service/MatrixService.php @@ -22,7 +22,7 @@ class MatrixService private $client; /** @var string */ - private $registrationSecret = "~d9fJpPKDZIV67A7=tPCvok:=fTBLV;MFf=9FRxtAazW@-GwSo"; + private $registrationSecret = "oyYh_iEJ7Aim.iB+ye.Xk;Gl3iHFab5*8K,zv~IulT85P=c-38"; /** * @throws MatrixRequestException diff --git a/run.sh b/run.sh index dd7cbfb..5556111 100755 --- a/run.sh +++ b/run.sh @@ -62,7 +62,7 @@ else fi fi -if [[ $SYNAPSE_DATA_VOLUME_EXISTS == "true" ]]; then +if [[ $SYNAPSE_DATA_VOLUME_EXISTS == "false" ]]; then $CONTAINER_RUNTIME run --rm \ --name=synapse \ --hostname synapse \ @@ -75,7 +75,7 @@ if [[ $SYNAPSE_DATA_VOLUME_EXISTS == "true" ]]; then fi LOCAL_SYNAPSE_DATA_PATH="$($CONTAINER_RUNTIME volume inspect --format "{{.Mountpoint}}" synapse-data)" -SED_ARGS=(-i 's|macaroon_secret_key: .*|macaroon_secret_key: "~d9fJpPKDZIV67A7=tPCvok:=fTBLV;MFf=9FRxtAazW@-GwSo"|' "$LOCAL_SYNAPSE_DATA_PATH/homeserver.yaml") +SED_ARGS=(-i 's|registration_shared_secret: .*|registration_shared_secret: "oyYh_iEJ7Aim.iB+ye.Xk;Gl3iHFab5*8K,zv~IulT85P=c-38"|' "$LOCAL_SYNAPSE_DATA_PATH/homeserver.yaml") if [[ $(id -u) -eq 0 || $RUNTIME_IS_PODMAN != "true" ]]; then sed ${SED_ARGS[@]} else