mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-14 18:35:21 +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;
|
||
|
}
|