2014-10-04 19:22:23 -04:00
|
|
|
var path = require("path");
|
|
|
|
|
2014-10-03 19:33:44 -04:00
|
|
|
module.exports = {
|
2014-10-03 19:42:39 -04:00
|
|
|
HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout",
|
2014-10-03 19:33:44 -04:00
|
|
|
getConfig: getConfig
|
2014-09-13 08:23:17 -04:00
|
|
|
};
|
|
|
|
|
2014-10-03 19:33:44 -04:00
|
|
|
function getConfig() {
|
2014-10-04 19:22:23 -04:00
|
|
|
return require(path.resolve(this.HOME) + "/config");
|
2014-10-03 19:33:44 -04:00
|
|
|
};
|