Initial working state: CL3.5 complete (Plesk sync + suspend/unsuspend)
This commit is contained in:
8
lib/supabase/server.ts
Normal file
8
lib/supabase/server.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { createServerComponentClient } from "@supabase/auth-helpers-nextjs";
|
||||
import { cookies } from "next/headers";
|
||||
|
||||
import type { Database } from "@/lib/types";
|
||||
|
||||
export function createSupabaseServerClient() {
|
||||
return createServerComponentClient<Database>({ cookies });
|
||||
}
|
||||
Reference in New Issue
Block a user