Skip to content

Commit e05042e

Browse files
committed
Update link.js
1 parent b9809c5 commit e05042e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/link.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ const html = `
9393
const isDev = (window.location.hostname === 'dev.codeit.codes');
9494
9595
if (link && !link.startsWith('https://cde.run')
96-
&& !link.startsWith('https://dev.cde.run')) {
96+
&& !link.startsWith('https://dev.cde.run')
97+
&& !link.startsWith('https://github.com')
98+
&& !link.startsWith('https:/github.com')) {
9799
98100
if (!isDev) link = 'https://cde.run/' + link;
99101
else link = 'https://dev.cde.run/' + link;

0 commit comments

Comments
 (0)