one line
Este commit está contenido en:
5
index.js
5
index.js
@@ -17,8 +17,7 @@ const config = require('./config'),
|
|||||||
privilegeManager.setRights(user, '/', ['all'])
|
privilegeManager.setRights(user, '/', ['all'])
|
||||||
|
|
||||||
app.disable('x-powered-by')
|
app.disable('x-powered-by')
|
||||||
.use('/', webdav.extensions.express('/dav', server))
|
.use(webdav.extensions.express('/dav', server), express.static(__dirname + '/public'), serveIndex('public/', { 'icons': true, view: 'details' }))
|
||||||
.use(express.static(__dirname + '/public'), serveIndex('public/', { 'icons': true, view: 'details' }))
|
|
||||||
.listen(config.port, () => {
|
.listen(config.port, () => {
|
||||||
console.log('Listening om: ::' + config.port)
|
console.log('Listening on: ::' + config.port)
|
||||||
})
|
})
|
||||||
Referencia en una nueva incidencia
Block a user