chore: Prettified Code

[ci skip]
This commit is contained in:
vapormusic 2022-09-01 01:08:30 +00:00 committed by cider-chore[bot]
parent 165d818cde
commit 8028c8eeab
2 changed files with 4 additions and 4 deletions

View file

@ -619,8 +619,8 @@ export class BrowserWindow {
const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress;
if (!this.chromecastIP.includes(ip)) {
this.headerSent = false;
this.audioStream._readableState.buffer.clear()
this.audioStream._readableState.length = 0
this.audioStream._readableState.buffer.clear();
this.audioStream._readableState.length = 0;
this.chromecastIP.push(ip);
}
req.socket.setTimeout(Number.MAX_SAFE_INTEGER);