Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wuls committed Jun 12, 2023
1 parent c6c6c5b commit 7e85979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .changeset/witty-grapes-jam.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'astro': major
'astro': patch
---

Regex sometimes fails to match. I splice the complete path and match it to ensure that it is completely correct.
Fix edge case with file-based routing match logic
1 change: 0 additions & 1 deletion packages/astro/src/core/render/route-cache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { object } from 'zod';
import type {
ComponentInstance,
GetStaticPathsItem,
Expand Down

0 comments on commit 7e85979

Please sign in to comment.