feat: add option to disable tailscale integration

This commit is contained in:
Stavros
2026-05-11 15:48:35 +03:00
parent 8b28e0c3e4
commit bc7c604a7d
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -27,6 +27,10 @@ type TailscaleService struct {
}
func NewTailscaleService(log *logger.Logger, config model.Config, ctx context.Context, wg *sync.WaitGroup) (*TailscaleService, error) {
if !config.Tailscale.Enabled {
return nil, nil
}
srv := new(tsnet.Server)
// node options