Browse Source

Fix typo in response header name (#693)

Hampus Kraft 3 years ago
parent
commit
8f062a43ee
1 changed files with 1 additions and 1 deletions
  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)
 }