Skip to content

Commit

Permalink
Add handler
Browse files Browse the repository at this point in the history
  • Loading branch information
trunghai95 committed Nov 1, 2023
1 parent 9910ecc commit 0309327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func runRestServer(ctx context.Context, grpcPort, httpPort string) error {

httpMux := http.NewServeMux()
httpMux.Handle(bridgeEndpointPath+"/", http.StripPrefix(bridgeEndpointPath, mux))
httpMux.Handle("/", mux)

if err := pb.RegisterBridgeServiceHandler(ctx, mux, conn); err != nil {
return err
Expand Down

0 comments on commit 0309327

Please sign in to comment.