7 lines
188 B
TypeScript
7 lines
188 B
TypeScript
import { FastifyInstance } from 'fastify';
|
|
|
|
export default function (router: FastifyInstance) {
|
|
router.get('/', async (request, reply) => {
|
|
return { hello: 'world' };
|
|
});
|
|
} |