sketchmark 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5298,7 +5298,7 @@ async function shareDiagram(dsl) {
5298
5298
  throw new Error(`Upload failed: ${res.status}`);
5299
5299
  const { id } = await res.json();
5300
5300
  // key goes into the fragment — browser never sends this to any server
5301
- return `${window.location.origin}/playground.html?s=${id}#key=${keyB64}`;
5301
+ return `${window.location.origin}/sketchmark/playground.html?s=${id}#key=${keyB64}`;
5302
5302
  }
5303
5303
  /**
5304
5304
  * Read ?s= and #key= from the current URL, fetch + decrypt the diagram.