correct var
This commit is contained in:
parent
d01d2c7c2e
commit
cd3ac433e8
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
var path = require('path')
|
var path = require('path')
|
||||||
// configPath = path.join(__dirname, 'config.json')
|
// configPath = path.join(__dirname, 'config.json')
|
||||||
configPath = path.join(path.dirname(require.main.filename), 'config.json')
|
var configPath = path.join(path.dirname(require.main.filename), 'config.json')
|
||||||
console.log('Reading config from: ' + configPath)
|
console.log('Reading config from: ' + configPath)
|
||||||
var config = require('read-config')(configPath)
|
var config = require('read-config')(configPath)
|
||||||
var express = require('express')
|
var express = require('express')
|
||||||
|
|
Loading…
Reference in a new issue