Skip to content

Commit

Permalink
Ensure _not-found is handled as a page
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Feb 29, 2024
1 parent cde6158 commit a9628b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-core/src/app_structure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ async fn directory_tree_to_entrypoints_internal_untraced(
{
let app_page = app_page
.clone_push_str("_not-found")?
.clone_push_str("page")?;
.complete(PageType::Page)?;
add_app_page(app_dir, &mut result, app_page, not_found_tree).await?;
}
}
Expand Down

0 comments on commit a9628b8

Please sign in to comment.