Skip to content

Commit a13b5a4

Browse files
authored
Add files via upload
1 parent 1b47cb3 commit a13b5a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web/js/IFLoadImagesNodeS.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ app.registerExtension({
170170
const backupBtn = this.addWidget("button", "backup_input", "Backup Input 💾",
171171
async () => {
172172
try {
173-
const response = await api.fetchApi("/if_ai/backup_input", {
173+
const response = await api.fetchApi("/ifai/backup_input", {
174174
method: "POST"
175175
});
176176

@@ -192,7 +192,7 @@ app.registerExtension({
192192
const restoreBtn = this.addWidget("button", "restore_input", "Restore Input ♻️",
193193
async () => {
194194
try {
195-
const response = await api.fetchApi("/if_ai/restore_input", {
195+
const response = await api.fetchApi("/ifai/restore_input", {
196196
method: "POST"
197197
});
198198

@@ -245,7 +245,7 @@ app.registerExtension({
245245
load_limit: parseInt(this.widgets.find(w => w.name === "load_limit")?.value || "1000")
246246
};
247247

248-
const response = await api.fetchApi("/if_ai/refresh_previews", {
248+
const response = await api.fetchApi("/ifai/refresh_previews", {
249249
method: "POST",
250250
headers: { "Content-Type": "application/json" },
251251
body: JSON.stringify(options)
@@ -342,7 +342,7 @@ app.registerExtension({
342342
nodeType.prototype.backupInputFolder = async function() {
343343
try {
344344
this.showLoader();
345-
const response = await fetch("/if_ai/backup_input", {
345+
const response = await fetch("/ifai/backup_input", {
346346
method: "POST"
347347
});
348348

@@ -365,7 +365,7 @@ app.registerExtension({
365365
nodeType.prototype.restoreInputFolder = async function() {
366366
try {
367367
this.showLoader();
368-
const response = await fetch("/if_ai/restore_input", {
368+
const response = await fetch("/ifai/restore_input", {
369369
method: "POST"
370370
});
371371

@@ -400,7 +400,7 @@ app.registerExtension({
400400

401401
this.showLoader();
402402

403-
const response = await fetch("/if_ai/refresh_previews", {
403+
const response = await fetch("/ifai/refresh_previews", {
404404
method: "POST",
405405
headers: {
406406
"Content-Type": "application/json"

0 commit comments

Comments
 (0)