Rocky_Mountain_Vending/.pnpm-store/v10/files/54/a044a6eea45bfc97bef9358725664dfa42ae3b04efa5ba90ed1b98e7b6f37b06959b9a98163afc0a340f8e597dfc3a6c38d1f488e6444abe082ba10fe2e1e4
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

15 lines
No EOL
471 B
Text

/**
* Parse cookies from the `headers` of request
* @param req request object
*/ export function getCookieParser(headers) {
return function parseCookie() {
const { cookie } = headers;
if (!cookie) {
return {};
}
const { parse: parseCookieFn } = require('next/dist/compiled/cookie');
return parseCookieFn(Array.isArray(cookie) ? cookie.join('; ') : cookie);
};
}
//# sourceMappingURL=get-cookie-parser.js.map