20% battery left

This commit is contained in:
Dreamgineer
2025-11-18 16:24:00 -05:00 Unverified
parent 27b8336295
commit fb031da1ef
19 changed files with 262 additions and 74 deletions
+2 -1
View File
@@ -22,6 +22,7 @@ export const auth = betterAuth({
"http://astral:3000",
"http://localhost:3000",
"https://dev3000.dgnr.us",
"http://m.dgnr.us",
],
database: drizzleAdapter(db, {
provider: "pg", // or "mysql", "sqlite"
@@ -29,7 +30,7 @@ export const auth = betterAuth({
}),
});
export async function apiAuthCheck() {
export async function adminCheck() {
"use server";
const session = await auth.api.getSession({