mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +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;
|
$servers = $this->servers;
|
||||||
$user = $this->user;
|
$user = $this->user;
|
||||||
|
|
||||||
|
$appName = config('v2board.app_name', 'V2Board');
|
||||||
|
header("content-disposition:attachment;filename*=UTF-8''".rawurlencode($appName).".conf");
|
||||||
|
|
||||||
$proxies = '';
|
$proxies = '';
|
||||||
$proxyGroup = '';
|
$proxyGroup = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user