Skip to content

Commit 9408eb0

Browse files
authored
Merge pull request #115 from codeitcodes/dev
Update link.js
2 parents 5d14dd9 + 1ade772 commit 9408eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const html = `
9090
let link = url.get('url');
9191
let embed = url.get('embed');
9292
93-
const isDev = window.location.href.includes('dev');
93+
const isDev = (window.location.hostname === 'dev.codeit.codes');
9494
9595
if (link && !link.startsWith('https://cde.run')
9696
&& !link.startsWith('https://dev.cde.run')) {

0 commit comments

Comments
 (0)