mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
fix(utils): update API endpoint for fetching connected trigger words
This commit is contained in:
@@ -183,7 +183,7 @@ export function collectActiveLorasFromChain(node, visited = new Set()) {
|
|||||||
export function updateConnectedTriggerWords(node, loraNames) {
|
export function updateConnectedTriggerWords(node, loraNames) {
|
||||||
const connectedNodeIds = getConnectedTriggerToggleNodes(node);
|
const connectedNodeIds = getConnectedTriggerToggleNodes(node);
|
||||||
if (connectedNodeIds.length > 0) {
|
if (connectedNodeIds.length > 0) {
|
||||||
fetch("/api/loras/get_trigger_words", {
|
fetch("/api/lm/loras/get_trigger_words", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user