refactor: rename to comfyui-deploy
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "comfy-deploy",
|
||||
"name": "comfyui-deploy",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user