one line
This commit is contained in:
parent
59013cd3c1
commit
c1a87347d9
5
index.js
5
index.js
@ -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…
Reference in New Issue
Block a user