@@ -170,7 +170,7 @@ app.registerExtension({
170
170
const backupBtn = this . addWidget ( "button" , "backup_input" , "Backup Input 💾" ,
171
171
async ( ) => {
172
172
try {
173
- const response = await api . fetchApi ( "/if_ai /backup_input" , {
173
+ const response = await api . fetchApi ( "/ifai /backup_input" , {
174
174
method : "POST"
175
175
} ) ;
176
176
@@ -192,7 +192,7 @@ app.registerExtension({
192
192
const restoreBtn = this . addWidget ( "button" , "restore_input" , "Restore Input ♻️" ,
193
193
async ( ) => {
194
194
try {
195
- const response = await api . fetchApi ( "/if_ai /restore_input" , {
195
+ const response = await api . fetchApi ( "/ifai /restore_input" , {
196
196
method : "POST"
197
197
} ) ;
198
198
@@ -245,7 +245,7 @@ app.registerExtension({
245
245
load_limit : parseInt ( this . widgets . find ( w => w . name === "load_limit" ) ?. value || "1000" )
246
246
} ;
247
247
248
- const response = await api . fetchApi ( "/if_ai /refresh_previews" , {
248
+ const response = await api . fetchApi ( "/ifai /refresh_previews" , {
249
249
method : "POST" ,
250
250
headers : { "Content-Type" : "application/json" } ,
251
251
body : JSON . stringify ( options )
@@ -342,7 +342,7 @@ app.registerExtension({
342
342
nodeType . prototype . backupInputFolder = async function ( ) {
343
343
try {
344
344
this . showLoader ( ) ;
345
- const response = await fetch ( "/if_ai /backup_input" , {
345
+ const response = await fetch ( "/ifai /backup_input" , {
346
346
method : "POST"
347
347
} ) ;
348
348
@@ -365,7 +365,7 @@ app.registerExtension({
365
365
nodeType . prototype . restoreInputFolder = async function ( ) {
366
366
try {
367
367
this . showLoader ( ) ;
368
- const response = await fetch ( "/if_ai /restore_input" , {
368
+ const response = await fetch ( "/ifai /restore_input" , {
369
369
method : "POST"
370
370
} ) ;
371
371
@@ -400,7 +400,7 @@ app.registerExtension({
400
400
401
401
this . showLoader ( ) ;
402
402
403
- const response = await fetch ( "/if_ai /refresh_previews" , {
403
+ const response = await fetch ( "/ifai /refresh_previews" , {
404
404
method : "POST" ,
405
405
headers : {
406
406
"Content-Type" : "application/json"
0 commit comments