Permalink
Browse files

Updated setAuth to save storage URL using setStorageUrl

  • Loading branch information...
1 parent a89350f commit 4e87941e6eb46d371164bfcc6f3b1121ed912d62 @davidwood davidwood committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cloudfiles/core.js
@@ -66,7 +66,7 @@ Cloudfiles.prototype.setAuth = function (callback) {
self.authorized = true;
self.config.serverUrl = res.headers['x-server-management-url'];
- self.config.storageUrl = res.headers['x-storage-url'];
+ self.config.setStorageUrl(res.headers['x-storage-url']);
self.config.cdnUrl = res.headers['x-cdn-management-url'];
self.config.authToken = res.headers['x-auth-token'];
self.config.storageToken = res.headers['x-storage-token']

0 comments on commit 4e87941

Please sign in to comment.