Skip to content

Commit

Permalink
Revert "[TASK] Allow urls without .html for CMS. (#936)"
Browse files Browse the repository at this point in the history
This reverts commit 4c613fd.
  • Loading branch information
tjwiebell authored Apr 1, 2019
1 parent ffe2734 commit 87dfa17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/venia-concept/venia-upward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ cmsPageResult:
urlKey:
when:
- matches: request.url.pathname
pattern: '^/(?:(.*))?'
pattern: '^/(?:(.*)\.html)?'
use: $match.$1
default:
inline: ''
Expand Down

0 comments on commit 87dfa17

Please sign in to comment.