Skip to content

Commit 041121a

Browse files
committed
Update link.js
1 parent cc4f00d commit 041121a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/link.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ 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')
97-
&& !link.startsWith('https://github.com')
98-
&& !link.startsWith('https:/github.com')) {
96+
&& !link.startsWith('https://dev.cde.run')) {
9997
10098
if (!isDev) link = 'https://cde.run/' + link;
10199
else link = 'https://dev.cde.run/' + link;

0 commit comments

Comments
 (0)