This commit is contained in:
jtydhr88
2023-05-19 21:43:02 -04:00
parent 057c68fff3
commit 05ee9fbd2a

View File

@@ -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),