Skip to content

Commit

Permalink
fix(livesamples): fix data attribute for path
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Nov 23, 2024
1 parent 4390f8c commit dcd5fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/playground/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function initPlayIframe(
const { state, hash } = await compressAndBase64Encode(
JSON.stringify(editorContent)
);
const path = iframe.getAttribute("data-play-path");
const path = iframe.getAttribute("data-live-path");
const host = PLAYGROUND_BASE_HOST.startsWith("localhost")
? PLAYGROUND_BASE_HOST
: `${hash}.${PLAYGROUND_BASE_HOST}`;
Expand Down

0 comments on commit dcd5fc3

Please sign in to comment.