From 4f99b005b1ff20a47029874c2939f728090bd0c5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 26 Mar 2023 13:31:56 +1100 Subject: [PATCH] fix(ui): disable OG web server socket connection --- invokeai/frontend/web/src/app/socketio/middleware.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/frontend/web/src/app/socketio/middleware.ts b/invokeai/frontend/web/src/app/socketio/middleware.ts index a28e4edc80..46dafc7656 100644 --- a/invokeai/frontend/web/src/app/socketio/middleware.ts +++ b/invokeai/frontend/web/src/app/socketio/middleware.ts @@ -29,6 +29,8 @@ export const socketioMiddleware = () => { path: `${window.location.pathname}socket.io`, }); + socketio.disconnect(); + let areListenersSet = false; const middleware: Middleware = (store) => (next) => (action) => {