diff --git a/server/src/config.ts b/server/src/config.ts index 0bcfc9d2a..1c235f9c3 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.ts index 394124fcd..5b1d9ce2a 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: ["admin@openbot.test", "owner@openbot.test"], }); });