changed default api endpoint when creating profile

This commit is contained in:
Marius Pana 2018-08-09 09:14:33 +03:00
parent 2d92219fef
commit 161f879723
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ function _createProfile(opts, cb) {
defaults = ctx.copy; defaults = ctx.copy;
delete defaults.name; // we don't copy a profile name delete defaults.name; // we don't copy a profile name
} else { } else {
defaults.url = 'https://us-sw-1.api.joyent.com'; defaults.url = 'https://eu-ro-1.api.spearhead.cloud';
} }
/* /*

View File

@ -1,7 +1,7 @@
{ {
"name": "spearhead", "name": "spearhead",
"description": "Spearhead Cloud CLI and client (https://spearhead.cloud)", "description": "Spearhead Cloud CLI and client (https://spearhead.cloud)",
"version": "6.1.2", "version": "6.1.3",
"author": "Spearhead Systems (spearhead.systems)", "author": "Spearhead Systems (spearhead.systems)",
"homepage": "https://code.spearhead.cloud/Spearhead/node-spearhead", "homepage": "https://code.spearhead.cloud/Spearhead/node-spearhead",
"dependencies": { "dependencies": {