Files
nextjs-shopify-hydrogen/lib/customer-session-handlers.ts
2026-07-29 11:02:40 -04:00

10 lines
324 B
TypeScript

import { createCustomerAccountServerHandlers } from "@shopify/hydrogen/customer-account";
import { customerSession } from "./customer-account";
export const customerSessionHandlers = createCustomerAccountServerHandlers({
customerSession,
defaultPostLoginRedirectPathname: "/account",
postLogoutRedirectUri: "/",
});