mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
Corrected path to config.json
This commit is contained in:
parent
7cf8745375
commit
84ce4bb5d8
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
var nodemailer = require('nodemailer');
|
||||
var nconf = require('nconf');
|
||||
nconf.file({ file: './config.json' });
|
||||
var crypto = require('crypto');
|
||||
var path = require("path");
|
||||
var request = require('request');
|
||||
|
|
@ -117,7 +116,7 @@ module.exports.setupConfig = function(){
|
|||
nconf.argv()
|
||||
.env()
|
||||
//.file('defaults', path.join(path.resolve(__dirname, '../config.json.example')))
|
||||
.file('user', path.join(path.resolve(__dirname, '../config.json')));
|
||||
.file('user', path.join(path.resolve(__dirname, './../../config.json')));
|
||||
|
||||
if (nconf.get('NODE_ENV') === "development")
|
||||
Error.stackTraceLimit = Infinity;
|
||||
|
|
|
|||
Loading…
Reference in a new issue