Skip to content

Commit

Permalink
kie-issues#400: kie-sandbox: Models shared by embed code are not load…
Browse files Browse the repository at this point in the history
…ed (apache#1888)
  • Loading branch information
danielzhe authored Aug 7, 2023
1 parent 98b006e commit fbd4667
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function EmbedModal(props: {
const gistId = (props.workspace.origin as GistOrigin).url.toString().split("/").pop()!.replace(".git", "");
return `
<script type="module">
import {Octokit} from "https://cdn.skypack.dev/@octokit/rest";
import {Octokit} from "https://esm.sh/@octokit/rest";
async function main() {
const gist = await new Octokit().gists.get({ gist_id: "${gistId}" });
${libraryName}.open({
Expand Down

0 comments on commit fbd4667

Please sign in to comment.