Revert "Merge branch 'lfoss-1889' of https://github.com/langflow-ai/langflow into lfoss-1889"

This reverts commit 896436ac53, reversing
changes made to 475c2fa027.
This commit is contained in:
Deon Sanchez
2025-08-18 12:41:16 -06:00
parent 896436ac53
commit 4e971f81e4
4 changed files with 6 additions and 6 deletions

View File

@ -113,7 +113,7 @@
"last 1 safari version"
]
},
"proxy": "http://127.0.0.1:7860",
"proxy": "http://localhost:7860",
"devDependencies": {
"@biomejs/biome": "2.1.1",
"@jest/types": "^30.0.1",

View File

@ -104,7 +104,7 @@ export default defineConfig({
webServer: [
{
command:
"uv run uvicorn --factory langflow.main:create_app --host 127.0.0.1 --port 7860 --loop asyncio",
"uv run uvicorn --factory langflow.main:create_app --host localhost --port 7860 --loop asyncio",
port: 7860,
env: {
LANGFLOW_DATABASE_URL: "sqlite:///./temp",
@ -119,7 +119,7 @@ export default defineConfig({
command: "npm start",
port: PORT || 3000,
env: {
VITE_PROXY_TARGET: "http://127.0.0.1:7860",
VITE_PROXY_TARGET: "http://localhost:7860",
},
},
],

View File

@ -1,6 +1,6 @@
export const BASENAME = "";
export const PORT = 3000;
export const PROXY_TARGET = "http://127.0.0.1:7860";
export const PROXY_TARGET = "http://localhost:7860";
export const API_ROUTES = ["^/api/v1/", "^/api/v2/", "/health"];
export const BASE_URL_API = "/api/v1/";
export const BASE_URL_API_V2 = "/api/v2/";

View File

@ -23,7 +23,7 @@ export default defineConfig(({ mode }) => {
const apiRoutes = API_ROUTES || ["^/api/v1/", "^/api/v2/", "/health"];
const target =
env.VITE_PROXY_TARGET || PROXY_TARGET || "http://127.0.0.1:7860";
env.VITE_PROXY_TARGET || PROXY_TARGET || "http://localhost:7860";
const port = Number(env.VITE_PORT) || PORT || 3000;
@ -44,7 +44,7 @@ export default defineConfig(({ mode }) => {
},
define: {
"process.env.BACKEND_URL": JSON.stringify(
envLangflow.BACKEND_URL ?? "http://127.0.0.1:7860",
envLangflow.BACKEND_URL ?? "http://localhost:7860",
),
"process.env.ACCESS_TOKEN_EXPIRE_SECONDS": JSON.stringify(
envLangflow.ACCESS_TOKEN_EXPIRE_SECONDS ?? 60,