mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 01:02:29 +00:00
add react single page app handler (proxy to dev server when $REACT_ENDPOINT is defined
fix example Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -120,7 +120,7 @@ func run(opts ...service.Option) {
|
||||
panic(err)
|
||||
}
|
||||
RegisterGreeterServer(svc, &GreeterHandler{})
|
||||
metrics2.Register(svc)
|
||||
metrics.Register(svc)
|
||||
go func() {
|
||||
if err := svc.Start(); err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user