From ec5528d9880fae70d5c98a5d573f143f9775df7c Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Wed, 28 Dec 2022 08:55:33 -0800 Subject: [PATCH] Add SignalService http handler (#506) Signed-off-by: Yee Hing Tong --- pkg/server/service.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/server/service.go b/pkg/server/service.go index 345072123..4f1f58ffb 100644 --- a/pkg/server/service.go +++ b/pkg/server/service.go @@ -223,6 +223,11 @@ func newHTTPServer(ctx context.Context, cfg *config.ServerConfig, _ *authConfig. return nil, errors.Wrap(err, "error registering data proxy service") } + err = service.RegisterSignalServiceHandlerFromEndpoint(ctx, gwmux, grpcAddress, grpcConnectionOpts) + if err != nil { + return nil, errors.Wrap(err, "error registering signal service") + } + mux.Handle("/", gwmux) return mux, nil