fixing not connecting to vpn

This commit is contained in:
Amir Mohammadi
2024-01-11 14:32:52 +03:30
parent 0f5770da7d
commit 2de779f39b

View File

@@ -95,7 +95,7 @@ class VPNManager: ObservableObject {
let newManager = NETunnelProviderManager()
let `protocol` = NETunnelProviderProtocol()
`protocol`.providerBundleIdentifier = "\(Bundle.main.baseBundleIdentifier).SingBoxPacketTunnel"
`protocol`.serverAddress = "Hiddify"
`protocol`.serverAddress = "localhost"
newManager.protocolConfiguration = `protocol`
newManager.localizedDescription = "Hiddify"
try await newManager.saveToPreferences()