-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes an issue where view transitions to the 404-page did not work (#…
…9642) * Add new e2e test * Ensure cloned Response keeps its headers * Add change set * Update changeset * Update .changeset/big-knives-own.md Co-authored-by: Florian Lefebvre <[email protected]> * Update packages/astro/src/vite-plugin-astro-server/route.ts Co-authored-by: Arsh <[email protected]> --------- Co-authored-by: Florian Lefebvre <[email protected]> Co-authored-by: Arsh <[email protected]>
- Loading branch information
1 parent
3011f15
commit cdb7bfa
Showing
5 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"astro": patch | ||
--- | ||
|
||
Fixes an issue where View Transitions did not work when navigating to the 404 page |
7 changes: 7 additions & 0 deletions
7
packages/astro/e2e/fixtures/view-transitions/src/pages/404.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
import Layout from '../components/Layout.astro'; | ||
--- | ||
<Layout> | ||
<p id="FourOhFour">Page not found</p> | ||
</Layout> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters