File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ const html = `
8282 <meta name="next-head-count" content="24">
8383 <meta name="robots" content="all">
8484
85+ <link rel="iframely player" type="text/html"
86+ href="https://codeit.codes/api/link?url=` + query . url + `"
87+ media="(aspect-ratio: 1280/720)"
88+ />
89+
8590 <link rel="shortcut icon" href="https://codeit.codes/icons/android-app-512.png">
8691 <link rel="apple-touch-icon" href="https://codeit.codes/icons/iphone-app-180.png">
8792
@@ -94,7 +99,7 @@ const html = `
9499 const url = new URL(window.location.href).searchParams;
95100
96101 let link = url.get('url');
97- let embed = url.get('embed ');
102+ let oembed = url.get('oembed ');
98103
99104 const isDev = (window.location.hostname === 'dev.codeit.codes');
100105
@@ -114,7 +119,7 @@ const html = `
114119
115120 if (link) {
116121
117- if (embed ) link += '?embed =true';
122+ if (oembed ) link += '?oembed =true';
118123
119124 const resp = decodeLink(link);
120125
You can’t perform that action at this time.
0 commit comments