From 0e09a945b04c70cd8350d5cf009a55e63f19db49 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Sun, 17 Dec 2023 22:03:36 +0800 Subject: [PATCH] chore: make https://www.comfydeploy.com default deploy domain --- web-plugin/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web-plugin/index.js b/web-plugin/index.js index 21888f6..9c13b62 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -105,10 +105,6 @@ const ext = { function addButton() { const menu = document.querySelector(".comfy-menu"); - const deployContainer = document.createElement("div"); - - - const deploy = document.createElement("button"); deploy.style.position = "relative"; deploy.textContent = "Deploy"; @@ -131,7 +127,7 @@ function addButton() { console.log(graph); console.log(prompt); - const endpoint = localStorage.getItem("endpoint"); + const endpoint = localStorage.getItem("endpoint") ?? "https://www.comfydeploy.com"; const apiKey = localStorage.getItem("apiKey"); if (!endpoint || !apiKey) { @@ -322,7 +318,7 @@ export class ConfigDialog extends ComfyDialog {

Comfy Deploy Config