chore: move /api to /api/web

This commit is contained in:
Michael Zetterberg
2024-04-16 10:41:54 +02:00
parent bc381ea65f
commit 41c29efd82
7 changed files with 17 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ import { createContext } from "@/server/context"
async function handler(req: Request) {
return fetchRequestHandler({
createContext,
endpoint: "/api/trpc",
endpoint: "/api/web/trpc",
req,
router: appRouter,
})