move db path from /insight-api-db to /.insight

This commit is contained in:
Matias Alejo Garcia 2014-04-17 09:46:19 -03:00
parent 23b646589f
commit 556952352f
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ function getUserHome() {
return process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
}
var home = process.env.INSIGHT_DB || ( getUserHome() + '/insight-api-db' );
var home = process.env.INSIGHT_DB || ( getUserHome() + '/.insight' );
if (process.env.INSIGHT_NETWORK === 'livenet') {
env = 'livenet';