mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-26 13:14:04 +00:00
build cont ....
This commit is contained in:
@@ -339,7 +339,10 @@ export function createMongoCollectionWithProxy(
|
||||
export function getFeatureEndpointOrDefault(feature: string): string {
|
||||
const endpoint =
|
||||
hasFlag(userContext.features.mongoProxyAPIs, feature) &&
|
||||
validateEndpoint(userContext.features.mongoProxyEndpoint, allowedMongoProxyEndpoints)
|
||||
validateEndpoint(
|
||||
userContext.features.mongoProxyEndpoint,
|
||||
allowedMongoProxyEndpoints.map((endpoint) => endpoint)
|
||||
)
|
||||
? userContext.features.mongoProxyEndpoint
|
||||
: configContext.MONGO_BACKEND_ENDPOINT || configContext.BACKEND_ENDPOINT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user