mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
8f0e441644
This reverts commit c077ffe4b9
via PR #40703
7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
export default function bootStatus(app) {
|
|
const api = app.loopback.Router();
|
|
|
|
api.get('/status/ping', (req, res) => res.json({ msg: 'pong' }));
|
|
app.use(api);
|
|
}
|