feat: arastirma modulleri odeme ve operasyonlari tamamla

This commit is contained in:
2026-08-09 09:24:26 +03:00
parent 4b4e00c6ee
commit 2b75e97ad6
45 changed files with 1316 additions and 330 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
app_url="${NEXT_PUBLIC_APP_URL:?NEXT_PUBLIC_APP_URL is required}"
if curl --fail --silent --show-error --max-time 10 "${app_url%/}/api/health" >/dev/null; then
echo "WinningHunter healthcheck OK"
exit 0
fi
if [ -n "${ALERT_WEBHOOK_URL:-}" ]; then
curl --fail --silent --show-error --max-time 10 -X POST -H 'content-type: application/json' --data '{"text":"WinningHunter healthcheck failed"}' "$ALERT_WEBHOOK_URL" >/dev/null || true
fi
echo "WinningHunter healthcheck FAILED" >&2
exit 1