astro/.changeset/cold-colts-laugh.md
Oskar Baumann 92b27e9c92
[@astrojs/prefetch]: Prevent prefetching current page (#5009)
* Check that removal of url.hash breaks no tests

* test if status-quo is as expected

* Adapt tests to fail

* Adapt the shouldPreload function to skip same path

* Add changeset
2022-10-07 10:13:51 -04:00

74 B

@astrojs/prefetch
patch

Prevents prefetching the current page