aboutsummaryrefslogtreecommitdiffhomepage
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rwxr-xr-xapp.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.js b/app.js
index 4570b07..678f391 100755
--- a/app.js
+++ b/app.js
@@ -27,6 +27,7 @@ var multipart = multipart({ maxFieldsSize: 2 * 1024, limit: '512mb', timeout: 3
27router.get ('/api/files/*', auth.ldap, files.get); 27router.get ('/api/files/*', auth.ldap, files.get);
28router.put ('/api/files/*', auth.ldap, multipart, files.put); 28router.put ('/api/files/*', auth.ldap, multipart, files.put);
29router.delete('/api/files/*', auth.ldap, files.del); 29router.delete('/api/files/*', auth.ldap, files.del);
30router.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
32var appUrl = process.env.APP_ORIGIN ? process.env.APP_ORIGIN : 'http://localhost:3000'; 33var appUrl = process.env.APP_ORIGIN ? process.env.APP_ORIGIN : 'http://localhost:3000';