mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
parent
2b9dcedd95
commit
838a6d1e19
@ -1362,7 +1362,7 @@ verify_license() {
|
|||||||
debug_log "echo Current time: $(date +%T)"
|
debug_log "echo Current time: $(date +%T)"
|
||||||
server_hostname=$(hostname)
|
server_hostname=$(hostname)
|
||||||
license_data='{"hostname": "'"$server_hostname"'", "public_ip": "'"$current_ip"'"}'
|
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-check)
|
response=$(curl -4 -s -X POST -H "Content-Type: application/json" -d "$license_data" https://api.openpanel.com/license/)
|
||||||
debug_log "echo Checking OpenPanel license for IP address: $current_ip"
|
debug_log "echo Checking OpenPanel license for IP address: $current_ip"
|
||||||
debug_log "echo Response: $response"
|
debug_log "echo Response: $response"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user