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 3902c467b9
commit a3a8404f91
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI Stable Diffusion Dream Server</title>
<script type="module" crossorigin src="/assets/index.66192cce.js"></script>
<script type="module" crossorigin src="/assets/index.1332a4e9.js"></script>
<link rel="stylesheet" href="/assets/index.447eb2a9.css">
</head>
<body>

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,
});