feat: switch TRPC to edge

This commit is contained in:
Henry
2024-04-24 22:11:53 +01:00
parent 0c1de23a19
commit 850b0fa876
7 changed files with 65 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ export const authRouter = createTRPCRouter({
const { data } = await ctx.db.auth.signInWithOtp({
email: input.email,
options: {
emailRedirectTo: "/boards",
emailRedirectTo: `${process.env.WEBSITE_URL}/boards`,
},
});