diff options
author | 2025-04-02 13:07:45 +0300 | |
---|---|---|
committer | 2025-04-02 11:07:45 +0100 | |
commit | dcb9526c6ece3b716c677205fb99b483c95bfa7d (patch) | |
tree | f10409d7fa7ace85b8bbf7252d2b952e581c2abb /examples/framework-svelte/src | |
parent | 2279053954742436a85208f7751ad9a5b60543f9 (diff) | |
download | astro-dcb9526c6ece3b716c677205fb99b483c95bfa7d.tar.gz astro-dcb9526c6ece3b716c677205fb99b483c95bfa7d.tar.zst astro-dcb9526c6ece3b716c677205fb99b483c95bfa7d.zip |
Allow to pass custom fetch for fetching pre-rendered errors (#13403)
* Allow to pass custom fetch for fetching pre-rendered errors
* Add changeset
* Update lockfile
* Update .changeset/big-hats-train.md
* Add JSDoc to the new param
* Commit suggested rephrase
* Change the suffix of the sentence
* Correct the test, it was using proper fetch signature, which is not actually what we need
* Add a more strict type to the error page path
* State explicitly that it's only 404 or 500
* Rephrase the JSdoc
* rename to `prerenderedErrorPageFetch`
* rename to `prerenderedErrorPageFetch`
* Update .changeset/big-hats-train.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* update the changeset
* update tests
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Update .changeset/big-hats-train.md
Co-authored-by: Matt Kane <m@mk.gg>
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Diffstat (limited to 'examples/framework-svelte/src')
0 files changed, 0 insertions, 0 deletions