9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
import type { FastifyPluginAsync } from 'fastify';
|
|
|
|
const root: FastifyPluginAsync = async (fastify): Promise<void> => {
|
|
fastify.get('/', async function (_request, _reply) {
|
|
return { status: 'ok' };
|
|
});
|
|
};
|
|
export default root;
|