|
|
|
@ -2,10 +2,10 @@ import { AuthClientPlugin } from "@blitzjs/auth"
|
|
|
|
|
import { setupBlitzClient } from "@blitzjs/next" |
|
|
|
|
import { BlitzRpcPlugin } from "@blitzjs/rpc" |
|
|
|
|
|
|
|
|
|
export const authConfig = { |
|
|
|
|
cookiePrefix: "searching-front-cookie-prefix", |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// export const authConfig = {
|
|
|
|
|
// cookiePrefix: "searching-front-cookie-prefix",
|
|
|
|
|
// }
|
|
|
|
|
//AuthClientPlugin(authConfig)
|
|
|
|
|
export const { withBlitz } = setupBlitzClient({ |
|
|
|
|
plugins: [AuthClientPlugin(authConfig), BlitzRpcPlugin({})], |
|
|
|
|
plugins: [BlitzRpcPlugin({})], |
|
|
|
|
}) |
|
|
|
|