From 79f7bf1580d57f8d0c1dec9fa75594b4289addb0 Mon Sep 17 00:00:00 2001 From: Murat Ugur Eminoglu Date: Sun, 24 Nov 2024 20:00:23 +0300 Subject: [PATCH] Add installation script to download the latest version from S3 --- install_ant-media-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_ant-media-server.sh b/install_ant-media-server.sh index 7d5635fd..37e94b4b 100755 --- a/install_ant-media-server.sh +++ b/install_ant-media-server.sh @@ -275,7 +275,7 @@ if [ -z "$ANT_MEDIA_SERVER_ZIP_FILE" ]; then curl --progress-bar -o ams_community.zip -L "$(curl -s -H "Accept: application/vnd.github+json" https://api.github.com/repos/ant-media/Ant-Media-Server/releases/latest | jq -r '.assets[0].browser_download_url')" ANT_MEDIA_SERVER_ZIP_FILE="ams_community.zip" elif [ -n "${LICENSE_KEY}" ]; then - check_license=$(curl -s https://api.antmedia.io/?license="${LICENSE_KEY}" | tr -d "\"") + check_license=$(curl -s https://api-v2.antmedia.io/?license="${LICENSE_KEY}" | tr -d "\"") if [ "$check_license" == "401" ]; then echo "Invalid license key. Please check your license key." exit 1