Bernd Storath
3 months ago
No known key found for this signature in database
GPG Key ID: D6C85685A555540F
2 changed files with
2 additions and
2 deletions
-
src/server/utils/WireGuard.ts
-
src/services/database/repositories/client.ts
|
|
@ -155,7 +155,7 @@ class WireGuard { |
|
|
|
expiresAt: null, |
|
|
|
enabled: true, |
|
|
|
allowedIPs: [...system.userConfig.allowedIps], |
|
|
|
serverAllowedIPs: null, |
|
|
|
serverAllowedIPs: [], |
|
|
|
persistentKeepalive: system.userConfig.persistentKeepalive, |
|
|
|
mtu: system.userConfig.mtu, |
|
|
|
}; |
|
|
|
|
|
@ -17,7 +17,7 @@ export type Client = { |
|
|
|
/** ISO String */ |
|
|
|
expiresAt: string | null; |
|
|
|
allowedIPs: string[]; |
|
|
|
serverAllowedIPs: string[] | null; |
|
|
|
serverAllowedIPs: string[]; |
|
|
|
oneTimeLink: OneTimeLink | null; |
|
|
|
/** ISO String */ |
|
|
|
createdAt: string; |
|
|
|