From 4dcdaa37830969b36196c41d811a9bd43257cf58 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 14 Oct 2023 19:20:58 +0200 Subject: [PATCH] longer preflight request cache --- src/routes/cors-anywhere/+server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/cors-anywhere/+server.ts b/src/routes/cors-anywhere/+server.ts index d383b1a..732f100 100644 --- a/src/routes/cors-anywhere/+server.ts +++ b/src/routes/cors-anywhere/+server.ts @@ -13,7 +13,7 @@ export async function GET({ url }) { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, HEAD, OPTIONS', 'Access-Control-Allow-Headers': 'Content-Type, Accept, X-Requested-With, sentry-trace, baggage, traceparent, tracestate', - 'Access-Control-Max-Age': '86400', + 'Access-Control-Max-Age': '172800', 'Content-Type': ret.headers.get('Content-Type')!,