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>
13 lines
351 B
Text
13 lines
351 B
Text
function stripCfConnectingIPHeader(input, init) {
|
|
const request = new Request(input, init);
|
|
request.headers.delete("CF-Connecting-IP");
|
|
return request;
|
|
}
|
|
|
|
globalThis.fetch = new Proxy(globalThis.fetch, {
|
|
apply(target, thisArg, argArray) {
|
|
return Reflect.apply(target, thisArg, [
|
|
stripCfConnectingIPHeader.apply(null, argArray),
|
|
]);
|
|
},
|
|
});
|