fix
This commit is contained in:
@@ -3,10 +3,10 @@ import { upScaleAPIFormatJSON } from "../comfyJson/upscale";
|
||||
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 UpscaleHandler: RequestHandler<any ,any> = async (ctx) => {
|
||||
ctx.set('Access-Control-Allow-Origin', '*')
|
||||
|
||||
Reference in New Issue
Block a user