diff --git a/back-end/routes/api-router.js b/back-end/routes/api-router.js index 58446f2..2b07335 100644 --- a/back-end/routes/api-router.js +++ b/back-end/routes/api-router.js @@ -5,7 +5,10 @@ const DAppsRoute = require('./dapps-routes'); class APIRouter { static route(app) { app.use('/metadata', DAppsRoute.build(express)); + + /* for ElasticBeanstalk Load Balancer healthcheck */ + app.use('/healthcheck', async (req, res) => res.send('OK')) } } -module.exports = APIRouter; \ No newline at end of file +module.exports = APIRouter;