Skip to content

Commit 7b65f7c

Browse files
authored
Update iframely embed URL (#4253)
1 parent 37a9453 commit 7b65f7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/gitbook/src/components/DocumentView

packages/gitbook/src/components/DocumentView/Embed.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export async function Embed(props: BlockProps<gitbookAPI.DocumentBlockEmbed>) {
1818
return null;
1919
}
2020

21-
ReactDOM.preload('https://cdn.iframe.ly/embed.js', { as: 'script' });
21+
ReactDOM.preload('https://iframely.net/embed.js', { as: 'script' });
2222

2323
const embed = await getDataOrNull(
2424
context.contentContext.dataFetcher.getEmbedByUrl({
@@ -41,7 +41,7 @@ export async function Embed(props: BlockProps<gitbookAPI.DocumentBlockEmbed>) {
4141
}}
4242
data-visual-test="blackout"
4343
/>
44-
<Script strategy="lazyOnload" src="https://cdn.iframe.ly/embed.js" />
44+
<Script strategy="lazyOnload" src="https://iframely.net/embed.js" />
4545
</>
4646
) : embed.type === 'integration' ? (
4747
<IntegrationBlock

0 commit comments

Comments
 (0)