diff options
Diffstat (limited to 'desktop')
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/lib/constraint-updater.ts | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/lib/constraint-updater.ts b/desktop/packages/mullvad-vpn/src/renderer/lib/constraint-updater.ts index 6ea021ece9..6f6a7b0850 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/lib/constraint-updater.ts +++ b/desktop/packages/mullvad-vpn/src/renderer/lib/constraint-updater.ts @@ -1,5 +1,6 @@ import { useCallback } from 'react'; +import { getDefaultRelaySettingsNormal } from '../../main/default-settings'; import { BridgeSettings, IBridgeConstraints, @@ -48,22 +49,9 @@ export function wrapRelaySettingsOrDefault( }; } - return { - location: 'any', - tunnelProtocol: 'any', - providers: [], - ownership: Ownership.any, - openvpnConstraints: { - port: 'any', - protocol: 'any', - }, - wireguardConstraints: { - port: 'any', - ipVersion: 'any', - useMultihop: false, - entryLocation: 'any', - }, - }; + const defaultSettings = getDefaultRelaySettingsNormal(); + + return defaultSettings; } type RelaySettingsUpdateFunction = ( |
