mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 13:34:28 -04:00
Remove bower occurences
This commit is contained in:
parent
ed83dfc862
commit
9e6fd505e1
7 changed files with 7 additions and 58 deletions
3
app.js
3
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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue