运行NodeJS app:输入:error,code:forbidden

时间:2015-05-13 19:58:27

标签: node.js

我是NodeJS的新手,并且一直在关注一个简​​单的教程。这是我的代码

{
    "type" : "error",
    "code" : "Forbidden"
}

但是当我启动服务器并转到localhost:8080时,我收到以下

    let op = CKModifyRecordsOperation(recordsToSave: recordsToModify, recordIDsToDelete: [])
    op.savePolicy = CKRecordSavePolicy.ChangedKeys
    op.modifyRecordsCompletionBlock = { saved, deleted, err in
        println("modified all ... \(saved.count) w err '\(err)' \(err != nil ? err.userInfo : [:])")
    }
    self.privateDB.addOperation(op)

有什么想法吗?

0 个答案:

没有答案