update: fix exporting surfboard config file without file name

This commit is contained in:
coldice945 2022-08-22 10:47:46 +08:00
parent eebdf79b68
commit 4d2e358784

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 = '';