Loads of styling

This commit is contained in:
space-nuko
2023-05-12 15:52:10 -05:00
parent f64db2035a
commit 4f241c17ab
13 changed files with 349 additions and 173 deletions

View File

@@ -298,7 +298,7 @@ export default class ComfyAPI {
return Promise.reject(error)
}
return fetch("/" + type, {
return fetch(this.getBackendUrl() + "/" + type, {
method: "POST",
headers: {
"Content-Type": "application/json",
@@ -328,6 +328,6 @@ export default class ComfyAPI {
* Interrupts the execution of the running prompt
*/
async interrupt(): Promise<Response> {
return fetch("/interrupt", { method: "POST" });
return fetch(this.getBackendUrl() + "/interrupt", { method: "POST" });
}
}