We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d14dd9 + 1ade772 commit 9408eb0Copy full SHA for 9408eb0
api/link.js
@@ -90,7 +90,7 @@ const html = `
90
let link = url.get('url');
91
let embed = url.get('embed');
92
93
- const isDev = window.location.href.includes('dev');
+ const isDev = (window.location.hostname === 'dev.codeit.codes');
94
95
if (link && !link.startsWith('https://cde.run')
96
&& !link.startsWith('https://dev.cde.run')) {
0 commit comments