This commit is contained in:
chun 2024-10-27 03:29:14 +00:00
parent 77976deb2c
commit a69e6a5017
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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);