Update server registration to return operational seed for heartbeat initialization

This commit is contained in:
ImBenji
2025-08-28 21:20:57 +01:00
parent 654fbc30c2
commit 4a8cae4c5a

View File

@@ -51,9 +51,9 @@ void main() async {
print('WireGuard is installed.'); print('WireGuard is installed.');
} }
await ServerService.registerServer(); String operationalSeed = await ServerService.registerServer();
await WireGuardService.initializeServer(); await WireGuardService.initializeServer();
initHeartbeat(); initHeartbeat(operationalSeed);
initVpnSessionMonitor(); initVpnSessionMonitor();
// Initialize protocol blocking service // Initialize protocol blocking service