mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 01:59:33 +00:00
Add copy buttons for transformation tool
This commit is contained in:
@@ -9,7 +9,6 @@ export async function shareSnippet(type: string, version: VersionId, jsonData: a
|
||||
try {
|
||||
const raw = JSON.stringify(jsonData)
|
||||
const data = lz.compressToBase64(raw)
|
||||
console.debug('Compression rate', raw.length / raw.length)
|
||||
const body = JSON.stringify({ data, type, version, show_preview })
|
||||
let id = ShareCache.get(body)
|
||||
if (!id) {
|
||||
|
||||
Reference in New Issue
Block a user