rsnext/packages/next/shared/lib/router
Naoyuki Kanezawa 9e4724dea2
fix: hard-navigate when preflight request fails (#35145)
fixes https://github.com/vercel/next.js/issues/34199

Also fixes response code to return `500` when showing error page of preflight request failure on dev mode

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2022-03-08 19:51:08 +00:00
..
utils refactor: re-use existed escapeRegex (#34470) 2022-02-28 19:50:57 +00:00
router.ts fix: hard-navigate when preflight request fails (#35145) 2022-03-08 19:51:08 +00:00