mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-21 23:34:14 +00:00
Fix bug when compose http proxy export cmd line.
This commit is contained in:
@@ -493,7 +493,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
|
||||
@IBAction func copyExportCommand(_ sender: NSMenuItem) {
|
||||
// Get the Http proxy config.
|
||||
let defaults = UserDefaults.standard
|
||||
let address = defaults.string(forKey: "LocalHTTP.ListenAddress")
|
||||
let address = defaults.string(forKey: "LocalHTTP.ListenAddress")!
|
||||
let port = defaults.integer(forKey: "LocalHTTP.ListenPort")
|
||||
|
||||
// Format an export string.
|
||||
|
||||
Reference in New Issue
Block a user