mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Fix web instance log following lost on reconnect
Fix the console view of the instance web interface losing the output subscription after a reconnect to the master server due to not re-subscribing to the outputs.
This commit is contained in:
1 parent
87da492ef8
commit
e82f849118
1 file changed
+4
@@ -49,6 +49,10 @@ export class Control extends libLink.Link {
|
||||
}
|
||||
|
||||
this.instanceOutputHandlers = new Map();
|
||||
|
||||
this.connector.on("connect", () => {
|
||||
this.updateInstanceOutputSubscriptions().catch(console.error);
|
||||
});
|
||||
}
|
||||
|
||||
async instanceOutputEventHandler(message) {
|
||||
|
||||
Reference in new issue
Block a user