Adjust bilboxContextMenuEnhance.js:186 to use api.fetchApi to allow non-root location for Comfy and allow adjustment
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user