summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-07-09 20:57:24 -0400
committerJules Laplace <jules@okfoc.us>2014-07-09 20:57:24 -0400
commit06f70668d5ad8cd19d92a0cddeecba02bdc384f9 (patch)
treea4f562475c97f26e907f2bbda7b7e88570dca5ec
parent1515428c5b5e1ad7501394176e3b4a85ab11b14b (diff)
no ejs
-rw-r--r--package.json3
-rw-r--r--server/index.js5
2 files changed, 3 insertions, 5 deletions
diff --git a/package.json b/package.json
index 1ebf93a..503d7cf 100644
--- a/package.json
+++ b/package.json
@@ -23,5 +23,8 @@
"morgan": "~1.1.1",
"pg": "~3.3.0",
"sequelize": "~1.7.9"
+ },
+ "engines": {
+ "node": "0.10.x"
}
}
diff --git a/server/index.js b/server/index.js
index 542363d..cabc97f 100644
--- a/server/index.js
+++ b/server/index.js
@@ -1,8 +1,5 @@
/* jshint node: true */
-var ejs = require('ejs');
-ejs.open = '[[';
-ejs.close = ']]';
var config = require('../config.json'),
api = require('./api'),
@@ -47,8 +44,6 @@ site.setup = function(){
// var SessionStore = new MongoStore({ mongoose_connection: mongoose.connection })
app.set('port', config.port);
- app.set('views', path.join(__dirname, '../views'));
- app.set('view engine', 'ejs');
app.use(express.static(path.join(__dirname, '../public')));
app.use(morgan('dev'));
app.use(cookieParser(config.secret));