Add registered to api

This commit is contained in:
Owen
2025-11-03 15:16:12 -08:00
parent 4a89915826
commit 9c496f7ca7
2 changed files with 14 additions and 0 deletions

View File

@@ -405,6 +405,10 @@ func Run(ctx context.Context, config Config) {
peerMonitor.Start()
if apiServer != nil {
apiServer.SetRegistered(true)
}
connected = true
logger.Info("WireGuard device created.")