mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix(tuna-obs): fix lite mode logic
This commit is contained in:
@ -68,11 +68,13 @@ export default createPlugin({
|
||||
})
|
||||
.catch((error: { code: number; errno: number }) => {
|
||||
if (!this.liteMode && is.dev()) {
|
||||
console.debug(
|
||||
`Error: '${
|
||||
error.code || error.errno
|
||||
}' - when trying to access obs-tuna webserver at port ${port}. enable lite mode`,
|
||||
);
|
||||
if (is.dev()) {
|
||||
console.debug(
|
||||
`Error: '${
|
||||
error.code || error.errno
|
||||
}' - when trying to access obs-tuna webserver at port ${port}. enable lite mode`,
|
||||
);
|
||||
}
|
||||
this.liteMode = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user