mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-15 23:06:38 +00:00
[client,signal,management] Adjust browser client ws proxy paths (#4565)
This commit is contained in:
@@ -258,7 +258,7 @@ func grpcHandlerFunc(grpcServer *grpc.Server, meter metric.Meter) http.Handler {
|
||||
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
switch {
|
||||
case r.URL.Path == wsproxy.ProxyPath:
|
||||
case r.URL.Path == wsproxy.ProxyPath+wsproxy.SignalComponent:
|
||||
wsProxy.Handler().ServeHTTP(w, r)
|
||||
default:
|
||||
grpcServer.ServeHTTP(w, r)
|
||||
|
||||
Reference in New Issue
Block a user