Adjust bilboxContextMenuEnhance.js:186 to use api.fetchApi to allow non-root location for Comfy and allow adjustment

This commit is contained in:
Daniel Lewis
2024-04-03 16:55:28 -06:00
parent 4f163dad0d
commit e23d2e414a
+1 -1
View File
@@ -183,7 +183,7 @@ app.registerExtension({
}
installCss()
fetch('/extensions/bilbox-comfyui/PromptGeek/photo_data.json')
api.fetchApi('/extensions/bilbox-comfyui/PromptGeek/photo_data.json')
.then((response) => response.json())
.then((json) => window.bilbox_promptgeek_data = json);