mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-06 19:10:08 +02:00
♻️ User-Agent reports as phpmon-curl/1.0
This commit is contained in:
@@ -30,7 +30,7 @@ struct CaskFile {
|
|||||||
} else {
|
} else {
|
||||||
return await Shell.pipe("""
|
return await Shell.pipe("""
|
||||||
curl -s --max-time 10 \
|
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-version: \(App.shortVersion) (\(App.bundleVersion))" \
|
||||||
-H "X-phpmon-os-version: \(App.macVersion)" \
|
-H "X-phpmon-os-version: \(App.macVersion)" \
|
||||||
-H "X-phpmon-bundle-id: \(App.identifier)" \
|
-H "X-phpmon-bundle-id: \(App.identifier)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user