mirror of
https://github.com/khairul169/code-share.git
synced 2025-04-28 16:49:36 +07:00
11 lines
201 B
TypeScript
11 lines
201 B
TypeScript
import { Router } from "express";
|
|
import preview from "./preview";
|
|
import trpc from "./trpc/handler";
|
|
|
|
const api = Router();
|
|
|
|
api.use("/trpc", trpc);
|
|
api.use("/preview", preview);
|
|
|
|
export default api;
|