checkhealth: add dummy endpoint

This commit is contained in:
He4eT 2025-05-23 16:33:34 +02:00
commit e88cf4b212
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,11 @@
import { name, version } from '../../../../package.json';
export default () => ({
index() {
return {
name,
version,
status: 'ok',
};
},
});

View file

@ -0,0 +1,12 @@
export default {
routes: [
{
method: 'GET',
path: '/checkhealth',
handler: 'checkhealth.index',
config: {
auth: false,
},
},
],
};