From 05a2adaac49a9205376186aebcbaecc5f9906fc9 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Wed, 22 Feb 2023 15:49:44 -0500 Subject: [PATCH] hmm --- netlify-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify-server.ts b/netlify-server.ts index 7c8a02d8..e4cafd19 100644 --- a/netlify-server.ts +++ b/netlify-server.ts @@ -32,8 +32,8 @@ export function createRequestHandler({ const { pathname } = new URL(request.url) // Skip the handler for static files if (pathname.startsWith(`${assetPath}/`)) { - console.log('Continuing Remix handler for static file', pathname) - // return + console.log('Skipping Remix handler for static file', pathname) + return; } try { const loadContext = (await getLoadContext?.(request, context)) || context