rewrite subtitle rendering engine
This commit is contained in:
@@ -119,7 +119,6 @@ export class PythagorasClient {
|
||||
const payload = await this.recv_inner();
|
||||
const text = payload.bytes === undefined ?
|
||||
(await payload.text()).slice(4) : (utf8_decode((await payload.bytes()).slice(4)));
|
||||
console.log("payload:", text);
|
||||
const parsed = JSON.parse(text);
|
||||
return parsed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user