Merge branch 'WeeJeWel:master' into master
This commit is contained in:
commit
bc38a72b1a
|
@ -5,6 +5,7 @@
|
|||
[](https://hub.docker.com/r/weejewel/wg-easy)
|
||||
[](https://hub.docker.com/r/weejewel/wg-easy)
|
||||
[](https://github.com/sponsors/WeeJeWel)
|
||||

|
||||
|
||||
You have found the easiest way to install & manage WireGuard on any Linux host!
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ module.exports = class Server {
|
|||
.replace(/(-{2,}|-$)/g, '-')
|
||||
.replace(/-$/, '')
|
||||
.substring(0, 32);
|
||||
res.header('Content-Disposition', `attachment; filename="${configName}.conf"`);
|
||||
res.header('Content-Disposition', `attachment; filename="${configName || clientId}.conf"`);
|
||||
res.header('Content-Type', 'text/plain');
|
||||
res.send(config);
|
||||
}))
|
||||
|
|
Loading…
Reference in New Issue