Adds socket.io path

This commit is contained in:
psychedelicious 2022-10-20 23:03:48 +08:00
parent e035397dcf
commit d3b0c54c14
3 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.00c5d275.js"></script>
<script type="module" crossorigin src="./assets/index.48782019.js"></script>
<link rel="stylesheet" href="./assets/index.556a5ea7.css">
</head>

View File

@ -26,6 +26,7 @@ export const socketioMiddleware = () => {
const socketio = io(origin, {
timeout: 60000,
path: window.location.pathname + 'socket.io',
});
let areListenersSet = false;