diff options
Diffstat (limited to 'server/controllers/health.js')
-rw-r--r-- | server/controllers/health.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/controllers/health.js b/server/controllers/health.js index 8c443bf..d0ebc4d 100644 --- a/server/controllers/health.js +++ b/server/controllers/health.js @@ -1,5 +1,7 @@ -export const healthCheck = async (req, res) => { +const healthCheck = async (req, res) => { return res.json({ uptime: process.uptime(), }); }; + +export default {healthCheck}; |