diff options
Diffstat (limited to 'app.js')
-rwxr-xr-x | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ router.put('/api/files/*', auth.ldap, multipart, files.put); | |||
25 | router.delete('/api/files/*', auth.ldap, files.del); | 25 | router.delete('/api/files/*', auth.ldap, files.del); |
26 | 26 | ||
27 | // healthcheck in case / does not serve up any file yet | 27 | // healthcheck in case / does not serve up any file yet |
28 | router.get('/', function (req, res) { res.sendfile(path.join(__dirname, '/app/welcome.html')); }); | 28 | router.get('/', function (req, res) { res.sendFile(path.join(__dirname, '/app/welcome.html')); }); |
29 | 29 | ||
30 | app.use(morgan('dev')); | 30 | app.use(morgan('dev')); |
31 | app.use(compression()); | 31 | app.use(compression()); |