correct var

This commit is contained in:
billchurch 2018-02-15 16:01:37 -05:00
parent d01d2c7c2e
commit cd3ac433e8

2
app.js
View file

@ -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')