refactor: rename to comfyui-deploy

This commit is contained in:
BennyKok
2023-12-14 22:57:46 +08:00
parent c419e10827
commit c791f5d0a6
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "comfy-deploy",
"name": "comfyui-deploy",
"version": "0.1.0",
"private": true,
"scripts": {
+1 -1
View File
@@ -53,7 +53,7 @@ function MachineWS({
const { addData } = useStore();
const wsEndpoint = machine.endpoint.replace(/^http/, "ws");
const { lastMessage, readyState } = useWebSocket(
`${wsEndpoint}/comfy-deploy/ws`,
`${wsEndpoint}/comfyui-deploy/ws`,
{
reconnectAttempts: 10,
reconnectInterval: 1000,
+1 -1
View File
@@ -44,7 +44,7 @@ export async function createRun(
// });
}
const comfyui_endpoint = `${machine.endpoint}/comfy-deploy/run`;
const comfyui_endpoint = `${machine.endpoint}/comfyui-deploy/run`;
// Sending to comfyui
const result = await fetch(comfyui_endpoint, {