Rocky_Mountain_Vending/.pnpm-store/v10/files/29/6a6303374237733973f8bc94b11377e3cae4635dc28dd349e64fb846b8b4460b338105cc653997b2bfe185b3e8a057874099c7d39c10acb3bd5547414a24ea
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

11 lines
409 B
Text

import { HttpRequest } from "@smithy/protocol-http";
import { GENERATED_HEADERS } from "./constants";
export const prepareRequest = (request) => {
request = HttpRequest.clone(request);
for (const headerName of Object.keys(request.headers)) {
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
delete request.headers[headerName];
}
}
return request;
};