Skip to content

Commit 9b635b4

Browse files
authored
[BUGFIX] Correct route configuration for archive links (#151)
Regex quantifiers are separated by a comma, this pull request fixes the issue. Signed-off-by: Robert Kärner <[email protected]> Co-authored-by: Robert Kärner <[email protected]>
1 parent 1d906d3 commit 9b635b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configuration/Routes/BlogArchive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ routeEnhancers:
3030
page: '@widget_0/currentPage'
3131
defaultController: 'Post::listPostsByDate'
3232
requirements:
33-
year: '[0-9]{1..4}'
33+
year: '[0-9]{1,4}'
3434
month: '[a-z]+'
3535
page: '\d+'
3636
aspects:

0 commit comments

Comments
 (0)