Discord Benachrichigung, PWA zum teil implementiert

This commit is contained in:
dev committed 2025-12-19 13:07:59 +01:00
1 parent b82adc93c7
commit dae99a0b76
716 files changed
+128101 -21

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
if (!globalThis.DOMException) {
const { MessageChannel } = require('worker_threads')
const port = new MessageChannel().port1
const ab = new ArrayBuffer()
try { port.postMessage(ab, [ab, ab]) }
catch (err) { globalThis.DOMException = err.constructor }
}
module.exports = globalThis.DOMException