move db path from /insight-api-db to /.insight
This commit is contained in:
parent
23b646589f
commit
556952352f
@ -14,7 +14,7 @@ function getUserHome() {
|
|||||||
return process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
|
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') {
|
if (process.env.INSIGHT_NETWORK === 'livenet') {
|
||||||
env = 'livenet';
|
env = 'livenet';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user