Browse Source

feat: remove unnecessary header in info_stats.sh

The commit removes an unnecessary header in the info_stats.sh file. The header was causing an issue with the API request.
pull/4295/head
Daniel Gibbs 2 years ago
parent
commit
fd89099b01
  1. 2
      lgsm/modules/info_stats.sh

2
lgsm/modules/info_stats.sh

@ -89,7 +89,7 @@ curl -X POST "https://www.google-analytics.com/mp/collect?api_secret=A-OzP02TSMW
] ]
}" }"
curl -i -X POST https://stats.linuxgsm.com/api/event \ curl -X POST https://stats.linuxgsm.com/api/event \
-H 'User-Agent: curl' \ -H 'User-Agent: curl' \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
--data "{\"name\":\"pageview\", --data "{\"name\":\"pageview\",

Loading…
Cancel
Save