aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webcastor.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/webcastor.js b/webcastor.js
index deff3bf..aebadb5 100644
--- a/webcastor.js
+++ b/webcastor.js
@@ -115,7 +115,10 @@ var Server = {
115 var app = imports.express(); 115 var app = imports.express();
116 116
117 app.use(imports.logfmt.requestLogger()); 117 app.use(imports.logfmt.requestLogger());
118 app.use(imports.bodyParser()); 118 app.use(imports.bodyParser.json());
119 app.use(imports.bodyParser.urlencoded({
120 extended : true,
121 }));
119 app.set('view engine', 'html'); 122 app.set('view engine', 'html');
120 app.set('layout', 'layout'); 123 app.set('layout', 'layout');
121 app.enable('view cache'); 124 app.enable('view cache');