1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-19 08:28:09 +00:00
quot/app/controllers/routes/index.ts

15 lines
319 B
TypeScript
Raw Normal View History

import type { FastifyInstance } from "fastify";
import api from "./api";
import login from "./login";
import views from "./views";
async function index(fastify: FastifyInstance) {
await Promise.all([
fastify.register(api),
fastify.register(login),
fastify.register(views),
]);
}
export default index;