sketchmark 0.1.5 → 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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sketchmark.iife.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5300,7 +5300,7 @@ async function shareDiagram(dsl) {
|
|
|
5300
5300
|
throw new Error(`Upload failed: ${res.status}`);
|
|
5301
5301
|
const { id } = await res.json();
|
|
5302
5302
|
// key goes into the fragment — browser never sends this to any server
|
|
5303
|
-
return `${window.location.origin}/playground.html?s=${id}#key=${keyB64}`;
|
|
5303
|
+
return `${window.location.origin}/sketchmark/playground.html?s=${id}#key=${keyB64}`;
|
|
5304
5304
|
}
|
|
5305
5305
|
/**
|
|
5306
5306
|
* Read ?s= and #key= from the current URL, fetch + decrypt the diagram.
|