mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Fetch TOKEN_URL from the resin sdk
This commit is contained in:
parent
978ff91f87
commit
064afd6705
@ -29,7 +29,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
TOKEN_URL = 'https://dashboard.resin.io/preferences';
|
||||
TOKEN_URL = url.resolve(resin.settings.get('remoteUrl'), resin.settings.get('urls.preferences'));
|
||||
|
||||
exports.login = {
|
||||
signature: 'login [token]',
|
||||
|
@ -22,7 +22,7 @@ exports.whoami =
|
||||
console.log(username)
|
||||
return done()
|
||||
|
||||
TOKEN_URL = 'https://dashboard.resin.io/preferences'
|
||||
TOKEN_URL = url.resolve(resin.settings.get('remoteUrl'), resin.settings.get('urls.preferences'))
|
||||
|
||||
exports.login =
|
||||
signature: 'login [token]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user