Browse Source

Fixed broken HTML for autobahn test server.

Gaku Ueda 11 năm trước cách đây
mục cha
commit
9dc53c0673
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/autobahn/server.go

+ 1 - 1
examples/autobahn/server.go

@@ -147,7 +147,7 @@ func serveHome(w http.ResponseWriter, r *http.Request) {
 		return
 	}
 	w.Header().Set("Content-Type", "text/html; charset=utf-8")
-	io.WriteString(w, "<html><body>Echo Server</body></html")
+	io.WriteString(w, "<html><body>Echo Server</body></html>")
 }
 
 var addr = flag.String("addr", ":9000", "http service address")