summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ZeroTier One/ServiceCom.swift9
1 files changed, 0 insertions, 9 deletions
diff --git a/ZeroTier One/ServiceCom.swift b/ZeroTier One/ServiceCom.swift
index 28957265..3aa9dc54 100644
--- a/ZeroTier One/ServiceCom.swift
+++ b/ZeroTier One/ServiceCom.swift
@@ -22,19 +22,10 @@ class ServiceCom: NSObject {
// authtoken.secret exists, use it.
var appSupportDir = try NSFileManager.defaultManager().URLForDirectory(.ApplicationSupportDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
- NSLog("\(appSupportDir)")
-
-
appSupportDir = appSupportDir.URLByAppendingPathComponent("ZeroTier")
- NSLog("\(appSupportDir)")
-
appSupportDir = appSupportDir.URLByAppendingPathComponent("One")
- NSLog("\(appSupportDir)")
-
let authtokenURL = appSupportDir.URLByAppendingPathComponent("authtoken.secret")
- NSLog("\(authtokenURL)")
-
if NSFileManager.defaultManager().fileExistsAtPath(authtokenURL.path!) {
Holder.key = try String(contentsOfURL: authtokenURL)
}