coolify/apps/server/src/api/index.ts

9 lines
231 B
TypeScript
Raw Normal View History

2022-12-12 13:48:56 +00:00
import type { FastifyPluginAsync } from 'fastify';
const root: FastifyPluginAsync = async (fastify): Promise<void> => {
fastify.get('/', async function (_request, _reply) {
return { status: 'ok' };
});
};
export default root;