mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
[Client] Fix bug
This commit is contained in:
parent
75f94b07c5
commit
66299dddde
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ export default Vue.extend({
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.connection = (this as any).os.stream.useSharedConnection('apLog');
|
this.connection = (this as any).os.stream.useSharedConnection('apLog');
|
||||||
this.connection.on('stats', this.onLog);
|
this.connection.on('log', this.onLog);
|
||||||
this.connection.on('statsLog', this.onLogs);
|
this.connection.on('logs', this.onLogs);
|
||||||
this.connection.send('requestLog', {
|
this.connection.send('requestLog', {
|
||||||
id: Math.random().toString().substr(2, 8),
|
id: Math.random().toString().substr(2, 8),
|
||||||
length: 50
|
length: 50
|
||||||
|
|
Loading…
Reference in a new issue