mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
819d20a89c
commit
347d3629b8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export function getRouteGenerator(
|
|||
const toPath = compile(template + trailing);
|
||||
return (params: object): string => {
|
||||
const path = toPath(params);
|
||||
|
||||
|
||||
// When generating an index from a rest parameter route, `path-to-regexp` will return an
|
||||
// empty string instead "/". This causes an inconsistency with static indexes that may result
|
||||
// in the incorrect routes being rendered.
|
||||
|
|
Loading…
Reference in a new issue