Skip to content

Commit ec7f689

Browse files
authored
Merge pull request #220 from codeitcodes/oembed
Update link.js
2 parents 23a45e2 + 52c9104 commit ec7f689

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

api/link.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ const html = `
107107
const url = new URL(window.location.href).searchParams;
108108
109109
let link = url.get('url');
110-
let oembed = url.get('oembed');
111110
112111
const isDev = (window.location.hostname === 'dev.codeit.codes');
113112
@@ -133,8 +132,6 @@ const html = `
133132
134133
if (link) {
135134
136-
if (oembed) link += '?oembed=true';
137-
138135
const resp = decodeLink(link);
139136
140137
// redirect to decoded URL

0 commit comments

Comments
 (0)