update
This commit is contained in:
parent
f688712e27
commit
77976deb2c
@ -156,7 +156,7 @@ app.registerExtension({
|
|||||||
localStorage.setItem('easyai-x-comfy-api-key', apiKey);
|
localStorage.setItem('easyai-x-comfy-api-key', apiKey);
|
||||||
localStorage.setItem('easyai-domain', domain);
|
localStorage.setItem('easyai-domain', domain);
|
||||||
app.graphToPrompt().then((p2) => {
|
app.graphToPrompt().then((p2) => {
|
||||||
const workflow = JSON.stringify(p2.output);
|
const workflow = JSON.stringify(p2.output, null, 2);
|
||||||
api.fetchApi('/easyai/upload_workflow', {
|
api.fetchApi('/easyai/upload_workflow', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
Reference in New Issue
Block a user