pidgin/carrier

937f50c92885
Parents 812f4d291061
Children 9314823b9c48
UptimeRobot keeps sending a GET so just accept that
--- a/uptimerobot/uptimerobot.go Tue May 14 22:30:06 2019 -0500
+++ b/uptimerobot/uptimerobot.go Tue May 14 22:37:10 2019 -0500
@@ -17,7 +17,7 @@
func validate(r *http.Request) int {
cfg := config.Get()
- if r.Method != http.MethodPost {
+ if r.Method != http.MethodGet {
return http.StatusMethodNotAllowed
}