Skip to content

Commit 2ce854c

Browse files
committed
debug
1 parent 73713b3 commit 2ce854c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (p *proxy) admin(w http.ResponseWriter, r *http.Request) {
4747
newData = newData + service + "=>" + newUrl + "\n"
4848
}
4949
w.Header().Set("Content-Type", "text/html;charset=utf-8")
50-
w.Write([]byte("<html><head><title>开发联调神器</title></head><form method=\"POST\"><center>开发联调神器<br><textarea placeholder=\"test=>192.168.8.8:8080\r\n效果:\r\n" + GetURL(r) + "/test/product/list => http://192.168.8.8:8080/product/list\" autofocus name=\"data\" rows=\"30\" cols=\"100\">" + newData + "</textarea><br><input type=\"submit\" value=\"提交\"></center></form><html>"))
50+
w.Write([]byte("<html><head><title>开发联调神器</title></head><form method=\"POST\"><center>开发联调神器(保存前先刷新)<br><textarea placeholder=\"test=>192.168.8.8:8080\r\n效果:\r\n" + GetURL(r) + "/test/product/list => http://192.168.8.8:8080/product/list\" autofocus name=\"data\" rows=\"30\" cols=\"100\">" + newData + "</textarea><br><input type=\"submit\" value=\"提交\"></center></form><html>"))
5151
}
5252

5353
func (p *proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)