remove some extra logging

This commit is contained in:
Grant Limberg 2016-05-31 15:01:42 -07:00
parent b4f3dfc347
commit 51e74f8d4f

View File

@ -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)
}