maybe continue

This commit is contained in:
Wes Bos 2023-02-22 15:39:54 -05:00
parent 53706076dd
commit 151b434295

View file

@ -32,8 +32,8 @@ export function createRequestHandler({
const { pathname } = new URL(request.url) const { pathname } = new URL(request.url)
// Skip the handler for static files // Skip the handler for static files
if (pathname.startsWith(`${assetPath}/`)) { if (pathname.startsWith(`${assetPath}/`)) {
console.log('Skipping Remix handler for static file', pathname) console.log('Continuing Remix handler for static file', pathname)
return // return
} }
try { try {
const loadContext = (await getLoadContext?.(request, context)) || context const loadContext = (await getLoadContext?.(request, context)) || context