Update install.sh

This commit is contained in:
Stefan Pejcic 2025-06-25 16:34:03 +02:00 committed by GitHub
parent 838a6d1e19
commit 75b9e3a503
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1362,7 +1362,7 @@ verify_license() {
debug_log "echo Current time: $(date +%T)"
server_hostname=$(hostname)
license_data='{"hostname": "'"$server_hostname"'", "public_ip": "'"$current_ip"'"}'
response=$(curl -4 -s -X POST -H "Content-Type: application/json" -d "$license_data" https://api.openpanel.com/license/)
response=$(curl -4 -s -X POST -H "Content-Type: application/json" -d "$license_data" https://api.openpanel.com/license/index.php)
debug_log "echo Checking OpenPanel license for IP address: $current_ip"
debug_log "echo Response: $response"
}