diff options
author | Max Wu | 2016-12-11 23:22:17 +0800 |
---|---|---|
committer | GitHub | 2016-12-11 23:22:17 +0800 |
commit | 5eec050360fe748eb16f4db6397371466d72421a (patch) | |
tree | 8cb035ed94e640eb55659f1dec9924f9b3d4da02 /app.js | |
parent | ecb956f515a4a9fc661e0724d694fc1ed093dcaa (diff) | |
parent | 9e6fd505e12c21e60347501132e1f473b61942b3 (diff) |
Merge pull request #274 from hackmdio/drop-bower
Drop bower
Diffstat (limited to '')
-rw-r--r-- | app.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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': |