1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-11-05 04:20:06 +01:00

♻️ User-Agent reports as phpmon-curl/1.0

This commit is contained in:
2025-09-30 14:52:59 +02:00
parent 00eed56a3d
commit 7e77dd562d

View File

@@ -30,7 +30,7 @@ struct CaskFile {
} else {
return await Shell.pipe("""
curl -s --max-time 10 \
-H "User-Agent: phpmon-curl 1.0" \
-H "User-Agent: phpmon-curl/1.0" \
-H "X-phpmon-version: \(App.shortVersion) (\(App.bundleVersion))" \
-H "X-phpmon-os-version: \(App.macVersion)" \
-H "X-phpmon-bundle-id: \(App.identifier)" \