1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

Allow the use of Browser Bridge

This commit is contained in:
Shelikhoo 2020-06-28 15:54:53 +08:00
parent 218d6204b8
commit e4acbcee8f
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -27,6 +27,9 @@ var upgrader = &websocket.Upgrader{
ReadBufferSize: 4 * 1024,
WriteBufferSize: 4 * 1024,
HandshakeTimeout: time.Second * 4,
CheckOrigin: func(r *http.Request) bool {
return true
},
}
func (h *requestHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request) {