Skip to content

Commit 04dc3ec

Browse files
mrstorkkodiakhq[bot]
andauthoredMay 24, 2024
fix: allow parallel routes to resolve without routing to a 404 page (#516)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent b2ac7fc commit 04dc3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/build/content/prerendered.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const buildAppCacheValue = async (path: string): Promise<CachedPageValue> => {
5757
readFile(`${path}.prefetch.rsc`, 'utf-8'),
5858
)
5959

60-
if (!meta.status && rsc.includes('NEXT_NOT_FOUND')) {
60+
if (!meta.status && meta.headers['x-next-cache-tags'].includes('_N_T_/not-found/layout')) {
6161
meta.status = 404
6262
}
6363

0 commit comments

Comments
 (0)
Please sign in to comment.