Dental Care
This commit is contained in:
11
lib/server/server.ts
Normal file
11
lib/server/server.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// This file can be used for server-side authentication utilities
|
||||
// Example usage:
|
||||
// import { auth } from "@/lib/auth-session/auth";
|
||||
// import { headers } from "next/headers";
|
||||
//
|
||||
// const someAuthenticatedAction = async () => {
|
||||
// "use server";
|
||||
// const session = await auth.api.getSession({
|
||||
// headers: await headers(),
|
||||
// });
|
||||
// };
|
||||
Reference in New Issue
Block a user