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