Skip to content

Commit

Permalink
fix: (strf-8734) fix a typo in renderer.module -> getTemplatePath()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGenash committed Oct 8, 2020
1 parent 5732f43 commit de5a91b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions server/plugins/renderer/renderer.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,7 @@ internals.getTemplatePath = (requestPath, data) => {
});

if (templatePath) {
templatePath = requestPath.join(
'pages/custom',
pageType,
templatePath.replace(/\.html$/, ''),
);
templatePath = path.join('pages/custom', pageType, templatePath.replace(/\.html$/, ''));
}
}

Expand Down

0 comments on commit de5a91b

Please sign in to comment.