Browse Source

fix authorization header

Alan Shreve 11 years ago
parent
commit
6296b14a58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ngrok/server/http.go

+ 1 - 1
src/ngrok/server/http.go

@@ -78,7 +78,7 @@ func httpHandler(c conn.Conn, proto string) {
 
 	// read out the Host header and auth from the request
 	host := strings.ToLower(vhostConn.Host())
-	auth := vhostConn.Request.Header.Get("Autorization")
+	auth := vhostConn.Request.Header.Get("Authorization")
 
 	// done reading mux data, free up the request memory
 	vhostConn.Free()