chore: fix router

This commit is contained in:
Steven
2024-05-01 12:44:18 +08:00
parent 590b626052
commit 144269fbbc
12 changed files with 292 additions and 292 deletions

View File

@@ -111,7 +111,8 @@ func (s *APIV1Service) RegisterGateway(ctx context.Context, echoServer *echo.Ech
if err := v1pb.RegisterIdentityProviderServiceHandler(context.Background(), gwMux, conn); err != nil {
return err
}
echoServer.Any("*", echo.WrapHandler(gwMux))
echoServer.Any("/api/v1/*", echo.WrapHandler(gwMux))
echoServer.Any("/o/*", echo.WrapHandler(gwMux))
// GRPC web proxy.
options := []grpcweb.Option{