|
@@ -7,7 +7,7 @@ const apiRoutes = ["^/api/", "/health"];
|
|
|
import path from "path";
|
|
import path from "path";
|
|
|
// Use environment variable to determine the target.
|
|
// Use environment variable to determine the target.
|
|
|
// const target = process.env.VITE_PROXY_TARGET || "http://localhost:7860";
|
|
// const target = process.env.VITE_PROXY_TARGET || "http://localhost:7860";
|
|
|
- const target = process.env.VITE_PROXY_TARGET || "http://npcall.ai:3101";
|
|
|
|
|
|
|
+ const target = process.env.VITE_PROXY_TARGET || "http://npcall.ai:3003";
|
|
|
// const target = process.env.VITE_PROXY_TARGET || "http://172.30.40.241:7866";
|
|
// const target = process.env.VITE_PROXY_TARGET || "http://172.30.40.241:7866";
|
|
|
|
|
|
|
|
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
|
|
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
|