update
This commit is contained in:
parent
77976deb2c
commit
a69e6a5017
@ -9,7 +9,7 @@ from server import PromptServer
|
||||
async def upload_workflow(request):
|
||||
try:
|
||||
data = await request.json()
|
||||
url = data["domain"] + "/api/v1/openapi/upload/workflow"
|
||||
url = data["domain"] + "v1/openapi/upload/workflow"
|
||||
headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'x-comfy-api-key': data["apiKey"]
|
||||
|
@ -41,7 +41,7 @@ app.registerExtension({
|
||||
// 添加域名输入框标签
|
||||
const domainLabel = document.createElement('label');
|
||||
domainLabel.setAttribute('for', 'domainInput');
|
||||
domainLabel.innerText = 'Domain (域名):';
|
||||
domainLabel.innerText = 'BaseURL (接口地址):';
|
||||
domainLabel.style.color = 'white'; // 白色标签文字
|
||||
dialog.appendChild(domainLabel);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user