From 0cc60d50cc80ace866ad2846f4b3b9d818afebcb Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:53:39 -0400 Subject: [PATCH] api: switch shlink_click to using pi-apps.io domain --- api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api b/api index bf1588454f..26a3282aae 100755 --- a/api +++ b/api @@ -1413,7 +1413,7 @@ shlink_link() { #Runs whenever an app is installed/uninstalled to tally the numb #if the 'Enable Analytics' setting is enabled if [ "$(cat "${DIRECTORY}/data/settings/Enable analytics")" == 'Yes' ];then #determine the name of the link to "click" - shlinklink="https://pi-apps-analytics.linkpc.net/pi-apps-$trigger-$(echo "$app" | tr -d ' ' | sed 's/[^a-zA-Z0-9]//g')/track" + shlinklink="https://analytics.pi-apps.io/pi-apps-$trigger-$(echo "$app" | tr -d ' ' | sed 's/[^a-zA-Z0-9]//g')/track" #click it curl -s -X 'GET' "$shlinklink" -H 'accept: image/gif' -A "Pi-Apps Raspberry Pi app store" >/dev/null & fi