Correctly reference home directory

This commit is contained in:
Juan Cruz Viotti 2014-11-17 15:40:16 -04:00
parent 3c3cb3e850
commit 8df43575d0

View File

@ -1,5 +1,7 @@
path = require('path')
module.exports =
# TODO: Should be configurable
baseUrl: 'https://staging.resin.io'
dataPrefix: '~/.resin'
dataPrefix: path.join(process.env.HOME, '.resin')