Commit ab0a52af authored by Leo Iannacone's avatar Leo Iannacone

moved files to lib/ and renamed apps.js in index.js

parent 120f7ca7
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
var express = require('express') var express = require('express')
, routes = require('./routes') , routes = require('./routes')
, config = require('./config.js')
, send = require('./send.js')
, fs = require('fs') , fs = require('fs')
, path = require('path') , path = require('path')
, utils = require('./utils.js')
, Tail = require('tail').Tail , Tail = require('tail').Tail
, config = require('./lib/config.js')
, send = require('./lib/send.js')
, utils = require('./lib/utils.js')
var app = module.exports = express.createServer(); var app = module.exports = express.createServer();
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* GET home page. * GET home page.
*/ */
var config = require('../config.js') var config = require('../lib/config.js')
exports.index = function(req, res){ exports.index = function(req, res){
res.render('index', config.web) res.render('index', config.web)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment