Update function mappings for absolute paths

This commit is contained in:
billz
2025-03-18 01:45:10 -07:00
parent 677e99ffd9
commit 8846b96905

View File

@@ -27,9 +27,9 @@ class Dashboard {
public function getVpnManged(?string $interface = null): ?string
{
return match ($interface) {
'wg0' => 'wg_conf',
'tun0' => 'openvpn_conf',
'tailscale0' => 'plugin__Tailscale',
'wg0' => '/wg_conf',
'tun0' => '/openvpn_conf',
'tailscale0' => '/plugin__Tailscale',
default => null,
};
}