mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix router
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user