Explorar o código

Fix typo in response header name (#693)

Hampus Kraft %!s(int64=3) %!d(string=hai) anos
pai
achega
8f062a43ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 }