mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
11 lines
266 B
TypeScript
11 lines
266 B
TypeScript
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 };
|