summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-01-18 02:59:55 -0700
committernavanchauhan <navanchauhan@gmail.com>2023-01-18 02:59:55 -0700
commit6a0ce5ee4f4ffed70dbedce5590d1afc6c1e9b6c (patch)
tree6f07739ba0138f55f2570ba6fd8624698f7fab27 /main.go
parent3f547d9ea5f50c110b3ca61c825433b8c1333ac5 (diff)
loaderio verification
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3841215..b28e620 100644
--- a/main.go
+++ b/main.go
@@ -100,6 +100,11 @@ func main() {
searchHandler(w, r, index, searchResultsTemplate2)
})
+ // Return "loaderio-270ce4134f3594bec728a59a83449796" for loader.io verification
+ http.HandleFunc("/loaderio-270ce4134f3594bec728a59a83449796/", func(w http.ResponseWriter, r *http.Request) {
+ fmt.Fprintf(w, "loaderio-270ce4134f3594bec728a59a83449796")
+ })
+
fmt.Println("Listening on port 8752")
http.ListenAndServe(":8752", nil)
}