Browse Source

one line

master
ale 3 years ago
parent
commit
c1a87347d9
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      index.js

+ 2
- 3
index.js View File

@ -17,8 +17,7 @@ const config = require('./config'),
privilegeManager.setRights(user, '/', ['all'])
app.disable('x-powered-by')
.use('/', webdav.extensions.express('/dav', server))
.use(express.static(__dirname + '/public'), serveIndex('public/', { 'icons': true, view: 'details' }))
.use(webdav.extensions.express('/dav', server), express.static(__dirname + '/public'), serveIndex('public/', { 'icons': true, view: 'details' }))
.listen(config.port, () => {
console.log('Listening om: ::' + config.port)
console.log('Listening on: ::' + config.port)
})

Loading…
Cancel
Save