Browse Source

fix auth cookies server

main
matthew 2 years ago
parent
commit
8c6838fdfd
  1. 10
      searching-front/app/blitz-server.ts

10
searching-front/app/blitz-server.ts

@ -6,11 +6,11 @@ import { authConfig } from "./blitz-client"
export const { gSSP, gSP, api } = setupBlitzServer({
plugins: [
AuthServerPlugin({
...authConfig,
storage: PrismaStorage(db),
isAuthorized: simpleRolesIsAuthorized,
}),
// AuthServerPlugin({
// ...authConfig,
// storage: PrismaStorage(db),
// isAuthorized: simpleRolesIsAuthorized,
// }),
],
onError: (...args) => console.log("FROM BLITZ SERVER ERROR", ...args),
})

Loading…
Cancel
Save