1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 17:44:59 +09:00
This commit is contained in:
Sergey 2022-07-01 11:42:52 +03:00
parent 441166b71b
commit 2b656c2167
No known key found for this signature in database
GPG key ID: 2B848483FF11C82C

View file

@ -203,13 +203,11 @@ func main() {
}
proxy.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Println("START ", r.URL.Path)
if webrpc.IsGrpcWebRequest(r) ||
webrpc.IsAcceptableGrpcCorsRequest(r) ||
webrpc.IsGrpcWebSocketRequest(r) {
webrpc.ServeHTTP(w, r)
}
fmt.Println("END ", r.URL.Path)
})
go func() {