diff options
author | 2022-03-10 13:02:37 -0500 | |
---|---|---|
committer | 2022-03-10 13:02:37 -0500 | |
commit | a14075e2a4d8897e24e2928318e653b63637ebe3 (patch) | |
tree | 065ab3a875869dcb92429468114faf39589a63fb /examples/framework-vue/src | |
parent | 7f99d0de9e1869d8fbb6040eeec4bc12d58ec98a (diff) | |
download | astro-a14075e2a4d8897e24e2928318e653b63637ebe3.tar.gz astro-a14075e2a4d8897e24e2928318e653b63637ebe3.tar.zst astro-a14075e2a4d8897e24e2928318e653b63637ebe3.zip |
Feat: show 404 when `getStaticPaths` doesn't match URL (#2743)
* WIP: return 404 for unmatched getStaticPaths route
* feat: regex on static paths to 404 in dev
* Revert "WIP: return 404 for unmatched getStaticPaths route"
This reverts commit 9c395a2586ca40d44c3ab18edc7ffbc1c4660ed8.
* feat: call getParamsAndProps pre-ssr to catch errs
* fix: remove unused cache regex check
* fix: revert getPattern changes
* fix: remove unused preload props
* fix: log 404 for custom 404 pages
* refactor: rename fixture for clarity
* feat: add getStaticPaths status code tests
* fix: pas rootRelativeUrl to handle subpaths
* fix: update dev-routing tests from 500 -> 404
* refactor: make error handling more explicit
* lint: use typescript no shadow to fix enum issue
* chore: add changeset
* refactor: clarify test names
* refactor: remove variable reassignment
* fix: update dev-routing tests 500 > 404
* refactor: update test file structure
* Fix: revert to old logging
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Chore: use `const enum` instead
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: format
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Diffstat (limited to 'examples/framework-vue/src')
0 files changed, 0 insertions, 0 deletions