Skip to content

Commit 4240ef9

Browse files
committed
add isInternal prefix
1 parent 0457c12 commit 4240ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ module.exports = {
313313
// try to parse as URL, if successful, prefix with absolute URL
314314
try {
315315
const parsedUrl = parse(valuesArray[i + 1]);
316-
if (isInternal(parsedUrl) && parsedUrl.pathname) {
316+
if (isInternal(parsedUrl, config.absoluteUrl) && parsedUrl.pathname) {
317317
splitValueLines[i + 1] = `https://api.apify.com${parsedUrl.pathname}`;
318318
}
319319
} catch {

0 commit comments

Comments
 (0)