mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-29 18:18:50 +00:00
10 lines
310 B
CoffeeScript
10 lines
310 B
CoffeeScript
open = require('open')
|
|
url = require('url')
|
|
resin = require('resin-sdk')
|
|
permissions = require('../permissions/permissions')
|
|
|
|
exports.preferences = permissions.user ->
|
|
preferencesUrl = resin.settings.get('urls.preferences')
|
|
absUrl = url.resolve(resin.settings.get('remoteUrl'), preferencesUrl)
|
|
open(absUrl)
|