mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-16 03:10:47 +01:00
7 lines
191 B
JavaScript
7 lines
191 B
JavaScript
|
import structuredClone from './index.js';
|
||
|
|
||
|
if (!("structuredClone" in globalThis)) {
|
||
|
console.debug("Monkey-patching structuredClone");
|
||
|
globalThis.structuredClone = structuredClone;
|
||
|
}
|