fix
This commit is contained in:
@@ -3,10 +3,10 @@ import { txt2imgAPIformatJSON, txt2imgAPIformatExtraData } from "../comfyJson/tx
|
||||
import axios from "axios";
|
||||
import { selectNodeFromApiJSONbyID } from "../utils/editComfyJson";
|
||||
import WebSocket from "ws";
|
||||
// const baseUrl = "http://47.108.92.176:20000";
|
||||
// const baseWsUrl = "ws://47.108.92.176:20000";
|
||||
const baseUrl = "http://localhost:8188";
|
||||
const baseWsUrl = "ws://localhost:8188";
|
||||
const baseUrl = "http://47.108.92.176:20000";
|
||||
const baseWsUrl = "ws://47.108.92.176:20000";
|
||||
// const baseUrl = "http://localhost:8188";
|
||||
// const baseWsUrl = "ws://localhost:8188";
|
||||
axios.defaults.baseURL = baseUrl;
|
||||
const Txt2ImgHandler: RequestHandler<Txt2ImgRequest, any> = async (ctx, next) => {
|
||||
console.log(ctx.method);
|
||||
|
||||
Reference in New Issue
Block a user