diff options
Diffstat (limited to 'app.js')
-rwxr-xr-x | app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,6 +27,7 @@ var multipart = multipart({ maxFieldsSize: 2 * 1024, limit: '512mb', timeout: 3 | |||
27 | router.get ('/api/files/*', auth.ldap, files.get); | 27 | router.get ('/api/files/*', auth.ldap, files.get); |
28 | router.put ('/api/files/*', auth.ldap, multipart, files.put); | 28 | router.put ('/api/files/*', auth.ldap, multipart, files.put); |
29 | router.delete('/api/files/*', auth.ldap, files.del); | 29 | router.delete('/api/files/*', auth.ldap, files.del); |
30 | router.get ('/api/healthcheck', function (req, res) { res.status(200).send(); }); | ||
30 | 31 | ||
31 | // welcome screen in case / does not serve up any file yet | 32 | // welcome screen in case / does not serve up any file yet |
32 | var appUrl = process.env.APP_ORIGIN ? process.env.APP_ORIGIN : 'http://localhost:3000'; | 33 | var appUrl = process.env.APP_ORIGIN ? process.env.APP_ORIGIN : 'http://localhost:3000'; |