mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix missing port variable, adds build
This commit is contained in:
parent
3902c467b9
commit
a3a8404f91
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>InvokeAI Stable Diffusion Dream Server</title>
|
<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">
|
<link rel="stylesheet" href="/assets/index.447eb2a9.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -24,7 +24,7 @@ import * as InvokeAI from '../invokeai';
|
|||||||
export const socketioMiddleware = () => {
|
export const socketioMiddleware = () => {
|
||||||
const { hostname, port } = new URL(window.location.href);
|
const { hostname, port } = new URL(window.location.href);
|
||||||
|
|
||||||
const socketio = io(`http://${hostname}:9090`, {
|
const socketio = io(`http://${hostname}:${port}`, {
|
||||||
timeout: 60000,
|
timeout: 60000,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user