Skip to content

Commit

Permalink
Doceditor: change id for prefetch script api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyBoyko committed Jan 24, 2025
1 parent 2b65b6a commit 7438079
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/doceditor/src/app/(root)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ async function Page({ searchParams }: RootPageProps) {
<>
<Root {...data} shareKey={share} />
{url && (
<Script id="editor-api" strategy="beforeInteractive" src={docApiUrl} />
<Script
id="onlyoffice-api-script"
strategy="beforeInteractive"
src={docApiUrl}
/>
)}
</>
);
Expand Down

0 comments on commit 7438079

Please sign in to comment.