fix: update hints path to forum
This commit is contained in:
committed by
mrugesh
parent
04f18e43f6
commit
7bc6367d68
@ -1,7 +1,11 @@
|
|||||||
const guideBase = '/guide/certifications';
|
const guideBase = 'https://www.freecodecamp.org/forum/search?q=';
|
||||||
|
|
||||||
export function createGuideUrl(slug = '') {
|
export function createGuideUrl(slug = '') {
|
||||||
return guideBase + slug.replace(/^\/learn\//, '/');
|
return (
|
||||||
|
guideBase +
|
||||||
|
slug.substring(slug.lastIndexOf('/') + 1) +
|
||||||
|
'%20%40camperbot%20%23guide'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isGoodXHRStatus(status) {
|
export function isGoodXHRStatus(status) {
|
||||||
|
Reference in New Issue
Block a user