Fix path again
This commit is contained in:
parent
4d3b296dc3
commit
eafda6ce77
@ -18,10 +18,10 @@ function AppStore(origin) {
|
|||||||
accessToken: null
|
accessToken: null
|
||||||
};
|
};
|
||||||
|
|
||||||
if (fs.existsSync(path.join(__dirname, 'ecosystem-staging.json'))) {
|
if (fs.existsSync(path.join(__dirname, '../ecosystem.json'))) {
|
||||||
this._ecosystem = require(path.join(__dirname, 'ecosystem-staging.json')); // staging appstore
|
this._ecosystem = require(path.join(__dirname, '../ecosystem.json')); // staging appstore
|
||||||
} else {
|
} else {
|
||||||
this._ecosystem = require(path.join(__dirname, '..', 'keys', 'appstore', 'ecosystem-staging.json'));
|
this._ecosystem = require(path.join(__dirname, '../keys/appstore/ecosystem-staging.json'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user