working commit

This commit is contained in:
2026-06-08 09:42:32 +02:00
parent 0506b35cd1
commit 5f16f33a8b
21 changed files with 786 additions and 114 deletions
-3
View File
@@ -86,12 +86,10 @@ func (svc *Service) Run() error {
if err != nil {
return err
}
interceptors := []grpc.UnaryServerInterceptor{
svc.accessInterceptor,
svc.logInterceptor,
}
gsrvOpts := []grpc.ServerOption{
grpc.Creds(tlsCredentials),
grpc.ChainUnaryInterceptor(interceptors...),
@@ -114,7 +112,6 @@ func (svc *Service) accessInterceptor(ctx context.Context, req any, info *grpc.U
if err != nil {
return nil, err
}
addressEnabled, _ := svc.nacl.AddressIsEnabled(host)
if err != nil {
return nil, err