Merge pull request #535 from coldice945/fix-surfboard-filename

fix exporting surfboard config file without file name
This commit is contained in:
tokumeikoi 2022-10-12 02:02:27 +08:00 committed by GitHub
commit bc9cf36b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@ class Surfboard
$servers = $this->servers;
$user = $this->user;
$appName = config('v2board.app_name', 'V2Board');
header("content-disposition:attachment;filename*=UTF-8''".rawurlencode($appName).".conf");
$proxies = '';
$proxyGroup = '';