From 8846b96905fec91c2c024a7775a03538f23035d0 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 18 Mar 2025 01:45:10 -0700 Subject: [PATCH] Update function mappings for absolute paths --- src/RaspAP/UI/Dashboard.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RaspAP/UI/Dashboard.php b/src/RaspAP/UI/Dashboard.php index d4065dda..8b2aad59 100644 --- a/src/RaspAP/UI/Dashboard.php +++ b/src/RaspAP/UI/Dashboard.php @@ -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, }; }