Fix missing port variable, adds build

This commit is contained in:
psychedelicious
2022-09-29 15:37:28 +10:00
committed by Lincoln Stein
parent 3d075a6b5b
commit 2cbf1e6f4b
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ import * as InvokeAI from '../invokeai';
export const socketioMiddleware = () => {
const { hostname, port } = new URL(window.location.href);
const socketio = io(`http://${hostname}:9090`, {
const socketio = io(`http://${hostname}:${port}`, {
timeout: 60000,
});