mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-27 12:51:41 +00:00
pgcosmos
This commit is contained in:
committed by
Chris Anderson
parent
80b926214b
commit
ff1e733679
@@ -202,7 +202,7 @@ export function updateConfigContext(newContext: Partial<ConfigContext>): 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<ConfigContext> {
|
||||
}
|
||||
|
||||
export { configContext };
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ export const CassandraProxyOutboundIPs: { [key: string]: string[] } = {
|
||||
[CassandraProxyEndpoints.Mooncake]: ["40.73.99.146", "143.64.62.47"],
|
||||
};
|
||||
|
||||
export const allowedEmulatorEndpoints: ReadonlyArray<string> = ["https://localhost:8081"];
|
||||
export const allowedEmulatorEndpoints: ReadonlyArray<string> = ["https://localhost:10443"];
|
||||
|
||||
export const allowedMongoBackendEndpoints: ReadonlyArray<string> = ["https://localhost:1234"];
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<p class="Introline2">Now, let's connect a sample app to it.</p>
|
||||
<div id="divQuickStartConnections">
|
||||
<p class="Introline2">URI</p>
|
||||
<input type="text" class="codeblock" readonly="readonly" value="https://localhost:8081" />
|
||||
<input type="text" class="codeblock" readonly="readonly" value="https://localhost:10443" />
|
||||
<p class="Introline2">Primary Key</p>
|
||||
<input
|
||||
type="text"
|
||||
@@ -27,7 +27,7 @@
|
||||
type="text"
|
||||
class="codeblock"
|
||||
readonly="readonly"
|
||||
value="AccountEndpoint=https://localhost:8081/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="
|
||||
value="AccountEndpoint=https://localhost:10443/;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="
|
||||
/>
|
||||
<p class="Introline2">Mongo Connection String</p>
|
||||
<input
|
||||
|
||||
@@ -323,13 +323,13 @@ module.exports = function (_env = {}, argv = {}) {
|
||||
},
|
||||
},
|
||||
"/_explorer": {
|
||||
target: process.env.EMULATOR_ENDPOINT || "https://localhost:8081/",
|
||||
target: process.env.EMULATOR_ENDPOINT || "https://localhost:10443/",
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
logLevel: "debug",
|
||||
},
|
||||
"/explorerProxy": {
|
||||
target: process.env.EMULATOR_ENDPOINT || "https://localhost:8081/",
|
||||
target: process.env.EMULATOR_ENDPOINT || "https://localhost:10443/",
|
||||
pathRewrite: { "^/explorerProxy": "" },
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
|
||||
Reference in New Issue
Block a user