From b99ee5e7de191317b121669ea52e6dfe93ef4558 Mon Sep 17 00:00:00 2001 From: "Nicholas Carrigan (he/him)" Date: Thu, 19 Aug 2021 23:28:07 -0700 Subject: [PATCH] feat: english forum for guide posts (#43246) --- client/src/templates/Challenges/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/templates/Challenges/utils/index.js b/client/src/templates/Challenges/utils/index.js index 9f3e73ec28..ea3eb25c6b 100644 --- a/client/src/templates/Challenges/utils/index.js +++ b/client/src/templates/Challenges/utils/index.js @@ -5,7 +5,7 @@ const { forumLocation } = envData; export function getGuideUrl({ forumTopicId, title = '' }) { title = encodeURIComponent(title); return forumTopicId - ? `${forumLocation}/t/${forumTopicId}` + ? `https://forum.freecodecamp.org/t/${forumTopicId}` : `${forumLocation}/search?q=${title}%20in%3Atitle%20order%3Aviews`; }