The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(one-liner): update SERVER_URL when not using default port (#7026)
Quentin G.3a3262f003e7
diff --git a/install.sh b/install.shindex 2b7a2d46ee9..39eb096b8e2 100755--- a/install.sh+++ b/install.sh@@ -112,8 +112,10 @@ if command -v nc &> /dev/null; thenread -p "Enter a new port number: " new_portif [[ $(uname) == "Darwin" ]]; thensed -i '' "s/$port:$port/$new_port:$port/g" docker-compose.yml+ sed -E -i '' "s|^SERVER_URL=http://localhost:[0-9]+|SERVER_URL=http://localhost:$new_port|g" .envelsesed -i'' "s/$port:$port/$new_port:$port/g" docker-compose.yml+ sed -E -i'' "s|^SERVER_URL=http://localhost:[0-9]+|SERVER_URL=http://localhost:$new_port|g" .envfiport=$new_portdone