MiniCPM5-2B-WebGPU-Pi-HTTP / app /src /prism-worker-setup.mjs
Mike0021's picture
Enable browser HTTP commands with CORS-aware errors and bounded requests
39371ea verified
Raw History Blame Contribute Delete
211 Bytes
// Must execute before Prism core: this worker uses our versioned message
// protocol, rather than Prism's built-in JSON-string worker protocol.
self.Prism = { manual: true, disableWorkerMessageHandler: true };