Spaces:
Build error
Build error
File size: 350 Bytes
932ae62 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
module.exports = async function () {
global.ResizeObserver = class ResizeObserver {
observe() {}
unobserve() {}
disconnect() {}
};
const { nop } = require("./utils/nopProxy");
global.enableWebGLCanvas = nop;
HTMLCanvasElement.prototype.getContext = nop;
localStorage["Comfy.Settings.Comfy.Logging.Enabled"] = "false";
};
|