Skip to content

Commit

Permalink
Remove path.joins in require calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmaleigh committed Aug 22, 2016
1 parent dcf7635 commit 38f6a45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var path = require('path')
var express = require('express')
var nunjucks = require('express-nunjucks')
var routes = require(path.join(__dirname, '/app/routes.js'))
var routes = require('./app/routes.js')
var app = express()
var bodyParser = require('body-parser')
var config = require(path.join(__dirname, '/app/config.js'))
var config = require('./app/config.js')
var port = (process.env.PORT || 3000)

// Application settings
Expand Down

0 comments on commit 38f6a45

Please sign in to comment.