aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rwxr-xr-xserver.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/server.js b/server.js
index e3d92e1..d3e4c6c 100755
--- a/server.js
+++ b/server.js
@@ -4,7 +4,6 @@
4 4
5var express = require('express'), 5var express = require('express'),
6 morgan = require('morgan'), 6 morgan = require('morgan'),
7 passport = require('passport'),
8 path = require('path'), 7 path = require('path'),
9 fs = require('fs'), 8 fs = require('fs'),
10 compression = require('compression'), 9 compression = require('compression'),
@@ -91,8 +90,6 @@ app.use('/api', bodyParser.json());
91app.use('/api', bodyParser.urlencoded({ extended: false, limit: '100mb' })); 90app.use('/api', bodyParser.urlencoded({ extended: false, limit: '100mb' }));
92app.use('/api', cookieParser()); 91app.use('/api', cookieParser());
93app.use('/api', session({ secret: 'surfin surfin', resave: false, saveUninitialized: false })); 92app.use('/api', session({ secret: 'surfin surfin', resave: false, saveUninitialized: false }));
94app.use('/api', passport.initialize());
95app.use('/api', passport.session());
96app.use(router); 93app.use(router);
97app.use(webdav.extensions.express('/_webdav', webdavServer)); 94app.use(webdav.extensions.express('/_webdav', webdavServer));
98app.use('/_admin', express.static(__dirname + '/frontend')); 95app.use('/_admin', express.static(__dirname + '/frontend'));