mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-27 07:31:09 +01:00
Update function mappings for absolute paths
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user