1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 14:28:04 +00:00
_/vercel-fastify/api/_routes/hello/index.ts
2024-04-22 00:20:58 +09:00

7 lines
182 B
TypeScript

import { FastifyInstance } from "fastify";
async function index(fastify: FastifyInstance): Promise<void> {
fastify.get("/", async () => "Hello, World!");
}
export default index;