Lanbot_Translate/heartbeat.js

6 lines
197 B
JavaScript
Raw Normal View History

2022-01-04 03:41:57 +01:00
const express = require('express');
const app = express();
app.get('/heartbeat', (req, res) => res.send('alive'));
app.listen(process.env.PORT, () => console.log("/heartbeat est à l'écoute."));