From 8a26a6ae591b0d017ba432f8704fa018e454a4a7 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Tue, 22 Aug 2023 12:10:46 +0200 Subject: [PATCH] fix cache typo --- 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 e74af3c..5c96b9c 100644 --- a/src/routes/cors-anywhere/+server.ts +++ b/src/routes/cors-anywhere/+server.ts @@ -13,7 +13,7 @@ export async function GET({ url }) { 'Content-Type': ret.headers.get('Content-Type')!, - 'Cache-Control': 'public, max-age=172800, immutable, stale-while-revalidate=345600, state-if-error=604800', + 'Cache-Control': 'public, max-age=172800, immutable, stale-while-revalidate=345600, stale-if-error=604800', 'Expires': new Date(Date.now() + 172800000).toUTCString() }, });