chore: sync all local changes

This commit is contained in:
Mohamed Boudra
2026-01-14 19:23:27 +07:00
parent cc815f6fa2
commit aa090748a6
19 changed files with 236 additions and 35 deletions
+5 -1
View File
@@ -79,10 +79,14 @@ export function loadConfig(
? Buffer.from(`${agentMcpUser}:${agentMcpPassword}`).toString("base64")
: undefined;
const envCorsOrigins = env.PASEO_CORS_ORIGINS
? env.PASEO_CORS_ORIGINS.split(",").map((s) => s.trim())
: [];
return {
listen,
paseoHome,
corsAllowedOrigins: persisted.cors.allowedOrigins,
corsAllowedOrigins: [...persisted.cors.allowedOrigins, ...envCorsOrigins],
agentMcpRoute: DEFAULT_AGENT_MCP_ROUTE,
agentMcpAllowedHosts: [mcpListen, `localhost:${mcpListen.split(":")[1]}`],
auth: {