chore: Fix start-https when backend isn't set

This commit is contained in:
Shrikant Sharat Kandula 2024-11-28 06:58:36 +05:30 committed by GitHub
parent 94768bd47b
commit 7615cd0a3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ if [[ ${backend-} == release ]]; then
backend=https://release.app.appsmith.com
fi
if [[ $backend == https://release.app.appsmith.com ]]; then
if [[ ${backend-} == https://release.app.appsmith.com ]]; then
# If running client against release, we get the release's version and set it up, so we don't see version mismatches.
APPSMITH_VERSION_ID="$(
curl -sS "$backend/info" | grep -Eo '"version": ".+?"' | cut -d\" -f4