Skip to content

Commit d599f66

Browse files
committed
feat: add youtube live chat to allowlist
1 parent 86cd84e commit d599f66

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

main/src/index.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,17 @@ app.on('will-quit', () => {
5555
window = null
5656
})
5757

58+
const allowlist = [
59+
'https://streamkit.discord.com/*',
60+
'https://www.youtube.com/live_chat',
61+
]
62+
5863
app
5964
.whenReady()
6065
.then(() => {
6166
session.defaultSession.webRequest.onHeadersReceived(
6267
{
63-
urls: ['https://streamkit.discord.com/*'],
68+
urls: allowlist,
6469
},
6570
(details, callback) => {
6671
if (details.responseHeaders === undefined) return callback(details)

0 commit comments

Comments
 (0)