Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated setAuth to save storage URL using setStorageUrl

  • Loading branch information...
commit 4e87941e6eb46d371164bfcc6f3b1121ed912d62 1 parent a89350f
@davidwood davidwood authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cloudfiles/core.js
View
2  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']
Please sign in to comment.
Something went wrong with that request. Please try again.