From 9e6fd505e12c21e60347501132e1f473b61942b3 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sun, 11 Dec 2016 10:31:51 +0800 Subject: Remove bower occurences --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app.js') diff --git a/app.js b/app.js index 1b2874a4..776ad8d0 100644 --- a/app.js +++ b/app.js @@ -113,7 +113,6 @@ app.use(i18n.init); // routes without sessions // static files app.use('/', express.static(__dirname + '/public', { maxAge: config.staticcachetime })); -app.use('/vendor/', express.static(__dirname + '/bower_components', { maxAge: config.staticcachetime })); //session app.use(session({ @@ -479,7 +478,7 @@ app.post('/uploadimage', function (req, res) { } else { if (config.debug) logger.info('SERVER received uploadimage: ' + JSON.stringify(files.image)); - + try { switch (config.imageUploadType) { case 'filesystem': -- cgit v1.2.3