mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-01-12 05:26:18 +00:00
Add peer tracking toggle to WireGuard dashboard
Introduces a 'peer_tracking' configuration option for WireGuard in DashboardConfig and updates the dashboard background thread to respect this setting. The Vue component now includes a UI toggle for peer tracking, updates the server configuration via API, and conditionally loads tracking data based on the toggle state.
This commit is contained in:
@@ -85,7 +85,8 @@ class DashboardConfig:
|
||||
"enable": "true",
|
||||
},
|
||||
"WireGuardConfiguration": {
|
||||
"autostart": ""
|
||||
"autostart": "",
|
||||
"peer_tracking": "false"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user