diff --git a/app/Http/Controllers/Client/Protocols/Surge.php b/app/Http/Controllers/Client/Protocols/Surge.php index 2d0d6e2d..c41edbed 100644 --- a/app/Http/Controllers/Client/Protocols/Surge.php +++ b/app/Http/Controllers/Client/Protocols/Surge.php @@ -21,6 +21,9 @@ class Surge $servers = $this->servers; $user = $this->user; + $appName = config('v2board.app_name', 'V2Board'); + header("content-disposition:attachment;filename*=UTF-8''".rawurlencode($appName).".conf"); + $proxies = ''; $proxyGroup = '';