From b6be9f08c8b4e681677a62abc21eba3d7634e26b Mon Sep 17 00:00:00 2001 From: "Mr. Lewis" Date: Fri, 22 Feb 2019 16:26:34 +0100 Subject: [PATCH] [TASK] Allow urls without .html for CMS. --- packages/venia-concept/venia-upward.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/venia-concept/venia-upward.yml b/packages/venia-concept/venia-upward.yml index 82b0a19dc3..09d97bb752 100644 --- a/packages/venia-concept/venia-upward.yml +++ b/packages/venia-concept/venia-upward.yml @@ -190,7 +190,7 @@ cmsPageResult: urlKey: when: - matches: request.url.pathname - pattern: '^/(?:(.*)\.html)?' + pattern: '^/(?:(.*))?' use: $match.$1 default: inline: ''