mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
Merge pull request #534 from coldice945/fix-surge-filename
fix exporting surge config file without file name
This commit is contained in:
commit
28c5844777
@ -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 = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user