mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 00:18:09 +00:00
14 lines
319 B
TypeScript
14 lines
319 B
TypeScript
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;
|