Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
Align the TRUSTED_ORIGINS fallback with the port the app is actually served on (#313)
Felix-Ayushe5f721eacb4a
diff --git a/server/src/config.ts b/server/src/config.tsindex 0bcfc9d2..1c235f9c 100644--- a/server/src/config.ts+++ b/server/src/config.ts@@ -502,7 +502,7 @@ function authConfig(secret,trustedOrigins: commaSeparated(environment, "TRUSTED_ORIGINS").length? commaSeparated(environment, "TRUSTED_ORIGINS")- : ["http://localhost:3000"],+ : ["http://localhost:3010"],initialAdminEmails,...(google ? { google } : {}),...(microsoft ? { microsoft } : {}),diff --git a/server/tests/config.test.ts b/server/tests/config.test.tsindex 394124fc..5b1d9ce2 100644--- a/server/tests/config.test.ts+++ b/server/tests/config.test.ts@@ -196,7 +196,7 @@ describe("deployment configuration", () => {clientId: "google-client-id",clientSecret: "google-client-secret",},- trustedOrigins: ["http://localhost:3000"],+ trustedOrigins: ["http://localhost:3010"],initialAdminEmails: ["[email protected]", "[email protected]"],});});