mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-28 10:40:14 +00:00
boxdd: Add insecure mode
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@ import (
|
||||
|
||||
func NewServer(startedService *StartedService, secret string) *grpc.Server {
|
||||
server := grpc.NewServer(
|
||||
grpc.ChainUnaryInterceptor(newUnaryAuthInterceptor(secret), UnaryErrorInterceptor),
|
||||
grpc.ChainStreamInterceptor(newStreamAuthInterceptor(secret), StreamErrorInterceptor),
|
||||
grpc.ChainUnaryInterceptor(newUnaryAuthInterceptor(secret)),
|
||||
grpc.ChainStreamInterceptor(newStreamAuthInterceptor(secret)),
|
||||
)
|
||||
healthServer := health.NewServer()
|
||||
RegisterStartedServiceServer(server, startedService)
|
||||
|
||||
Reference in New Issue
Block a user