Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
  • Loading branch information
oliviertassinari authored Sep 6, 2023
1 parent 3752398 commit 73260bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/markdown/parseMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,7 @@ function createRender(context) {

let finalHref = href;

if (process.env.DEPLOY_ENV !== 'production') {
checkUrlHealth(href, linkText, context);
}
checkUrlHealth(href, linkText, context);

if (userLanguage !== 'en' && href.indexOf('/') === 0 && !options.ignoreLanguagePages(href)) {
finalHref = `/${userLanguage}${href}`;
Expand Down

0 comments on commit 73260bc

Please sign in to comment.