PHP Rebuild
CI / ci (push) Canceled after 0s

Initial PHP rebuild of the app
This commit is contained in:
Stefan Lazic committed 2026-09-05 08:21:33 +01:00
1 parent 8a2b211069
commit 2ef3654841
690 files changed
+33944 -12046

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import type { NextAuthConfig } from "next-auth";
/**
* The subset of NextAuth config that doesn't touch the database — no
* adapter, no Credentials `authorize()` (which needs Prisma + bcrypt).
* `proxy.ts` builds its own lightweight `NextAuth(authConfig)` instance
* from this alone, so checking "is there a valid session" on every
* request doesn't spin up a Postgres connection pool just to do it. The
* full config in `auth.ts` (adapter, real providers) extends this one.
*/
export const authConfig = {
pages: {
signIn: "/sign-in",
},
providers: [],
session: { strategy: "jwt" },
} satisfies NextAuthConfig;