mirror of
https://github.com/Stability-AI/StableStudio.git
synced 2026-05-17 07:25:55 +08:00
bug fix
This commit is contained in:
@@ -152,7 +152,11 @@ export const createPlugin = StableStudio.createPlugin<{
|
||||
}
|
||||
}
|
||||
|
||||
const webuiHostUrl = localStorage.getItem("webui-host-url") ?? "http://127.0.0.1:7861";
|
||||
let webuiHostUrl = localStorage.getItem("webui-host-url");
|
||||
|
||||
if (webuiHostUrl === "" || !webuiHostUrl) {
|
||||
webuiHostUrl = "http://127.0.0.1:7861";
|
||||
}
|
||||
|
||||
return {
|
||||
...webuiLoad(webuiHostUrl),
|
||||
|
||||
Reference in New Issue
Block a user