summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRagnis Armus <ragnis@armus.ee>2018-07-15 17:02:11 +0300
committerRagnis Armus <ragnis@armus.ee>2018-07-15 17:02:11 +0300
commit9b926d4712af708d2450c5cedec1554d4f9d1d8a (patch)
tree33124c28a83c9ef29f5190f6b7210e28180f8e59
parent7639b159eea881a66334fec0e1d8db250932b31b (diff)
fix query string condition
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7641e7c..6f98617 100644
--- a/main.go
+++ b/main.go
@@ -33,7 +33,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
if r.Method == "HEAD" {
return
}
- if r.Method != "GET" || r.URL.RawQuery != "go-import=1" {
+ if r.Method != "GET" || r.URL.RawQuery != "go-get=1" {
serveStatus(w, 404)
return
}