Skip to content

Commit 1aa79dd

Browse files
authored
Merge pull request #218
Update oembed.js
2 parents 1c6dca8 + 030f1e3 commit 1aa79dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/oembed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function handler(request, response) {
1616

1717
let url = 'https://codeit.codes';
1818

19-
url += '/api/link?url=' + 'https://cde.run/' + query.url + '&oembed=true';
19+
url += '/api/link?url=' + query.url + '&oembed=true';
2020

2121
const embedHTML = `<iframe src="`+ url +`" width="700" height="480" style="border-radius: 10px;" allow="accelerometer; camera; encrypted-media; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write" allowfullscreen="true" allowpaymentrequest="true" loading="lazy" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation" scrolling="yes" frameborder="0"></iframe></html>`;
2222

0 commit comments

Comments
 (0)