Procházet zdrojové kódy

Fix typo in response header name (#693)

Hampus Kraft před 3 roky
rodič
revize
8f062a43ee
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)
 }