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