chore: Prettified Code
[ci skip]
This commit is contained in:
parent
165d818cde
commit
8028c8eeab
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue