From ff1e7336798b973758753c590feeb9080d8aac4a Mon Sep 17 00:00:00 2001 From: Theo van Kraay Date: Mon, 5 Aug 2024 14:10:08 +0100 Subject: [PATCH] pgcosmos --- src/ConfigContext.ts | 3 ++- src/Utils/EndpointUtils.ts | 2 +- src/quickstart.html | 4 ++-- webpack.config.js | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ConfigContext.ts b/src/ConfigContext.ts index 113a6d5e5..b0cffbe05 100644 --- a/src/ConfigContext.ts +++ b/src/ConfigContext.ts @@ -202,7 +202,7 @@ export function updateConfigContext(newContext: Partial): void { if (process.env.NODE_ENV === "development") { updateConfigContext({ PROXY_PATH: "/proxy", - EMULATOR_ENDPOINT: "https://localhost:8081", + EMULATOR_ENDPOINT: "https://localhost:10443", PORTAL_BACKEND_ENDPOINT: PortalBackendEndpoints.Mpac, MONGO_PROXY_ENDPOINT: MongoProxyEndpoints.Mpac, CASSANDRA_PROXY_ENDPOINT: CassandraProxyEndpoints.Mpac, @@ -259,3 +259,4 @@ export async function initializeConfiguration(): Promise { } export { configContext }; + diff --git a/src/Utils/EndpointUtils.ts b/src/Utils/EndpointUtils.ts index 3172deed3..349d7df0c 100644 --- a/src/Utils/EndpointUtils.ts +++ b/src/Utils/EndpointUtils.ts @@ -131,7 +131,7 @@ export const CassandraProxyOutboundIPs: { [key: string]: string[] } = { [CassandraProxyEndpoints.Mooncake]: ["40.73.99.146", "143.64.62.47"], }; -export const allowedEmulatorEndpoints: ReadonlyArray = ["https://localhost:8081"]; +export const allowedEmulatorEndpoints: ReadonlyArray = ["https://localhost:10443"]; export const allowedMongoBackendEndpoints: ReadonlyArray = ["https://localhost:1234"]; diff --git a/src/quickstart.html b/src/quickstart.html index e369724e6..4922c2e60 100644 --- a/src/quickstart.html +++ b/src/quickstart.html @@ -14,7 +14,7 @@

Now, let's connect a sample app to it.

URI

- +

Primary Key

Mongo Connection String