Skip to content

Commit

Permalink
Add installation script to download the latest version from S3
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Nov 24, 2024
1 parent 32bd936 commit 79f7bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_ant-media-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79f7bf1

Please sign in to comment.