Przeglądaj źródła

Fix typo in response header name (#693)

Hampus Kraft 3 lat temu
rodzic
commit
8f062a43ee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      landing.go

+ 1 - 1
landing.go

@@ -14,7 +14,7 @@ var landingTmpl = []byte(`
 `)
 
 func handleLanding(reqID string, rw http.ResponseWriter, r *http.Request) {
-	rw.Header().Set("Content-Tyle", "text/html")
+	rw.Header().Set("Content-Type", "text/html")
 	rw.WriteHeader(200)
 	rw.Write(landingTmpl)
 }