|
|
@ -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) |
|
|
|
}) |