mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-24 08:18:57 +00:00
asdf
This commit is contained in:
10
t3-nextauth/src/server/auth/index.ts
Normal file
10
t3-nextauth/src/server/auth/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import NextAuth from "next-auth";
|
||||
import { cache } from "react";
|
||||
|
||||
import { authConfig } from "./config";
|
||||
|
||||
const { auth: uncachedAuth, handlers, signIn, signOut } = NextAuth(authConfig);
|
||||
|
||||
const auth = cache(uncachedAuth);
|
||||
|
||||
export { auth, handlers, signIn, signOut };
|
||||
Reference in New Issue
Block a user