mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-01 07:28:24 +01:00
Add missing endpoints
This commit is contained in:
parent
e9b168be6d
commit
16bb03c47c
@ -2,7 +2,6 @@ import { JunoEndpoints } from "Common/Constants";
|
||||
import {
|
||||
allowedAadEndpoints,
|
||||
allowedArcadiaEndpoints,
|
||||
allowedArcadiaLivyDnsZones,
|
||||
allowedArmEndpoints,
|
||||
allowedBackendEndpoints,
|
||||
allowedEmulatorEndpoints,
|
||||
@ -141,15 +140,6 @@ export function updateConfigContext(newContext: Partial<ConfigContext>): void {
|
||||
delete newContext.ARCADIA_ENDPOINT;
|
||||
}
|
||||
|
||||
if (
|
||||
!validateEndpoint(
|
||||
newContext.ARCADIA_LIVY_ENDPOINT_DNS_ZONE,
|
||||
allowedArcadiaLivyDnsZones.map((endpoint) => endpoint)
|
||||
)
|
||||
) {
|
||||
delete newContext.ARCADIA_LIVY_ENDPOINT_DNS_ZONE;
|
||||
}
|
||||
|
||||
if (
|
||||
!validateEndpoint(
|
||||
newContext.BACKEND_ENDPOINT,
|
||||
|
@ -45,14 +45,14 @@ export const allowedEmulatorEndpoints: ReadonlyArray<string> = ["https://localho
|
||||
|
||||
export const allowedMongoBackendEndpoints: ReadonlyArray<string> = ["https://localhost:1234"];
|
||||
|
||||
export const allowedGraphEndpoints: ReadonlyArray<string> = [];
|
||||
export const allowedGraphEndpoints: ReadonlyArray<string> = ["https://graph.windows.net"];
|
||||
|
||||
export const allowedArcadiaEndpoints: ReadonlyArray<string> = [];
|
||||
export const allowedArcadiaEndpoints: ReadonlyArray<string> = ["https://workspaceartifacts.projectarcadia.net"];
|
||||
|
||||
export const allowedArcadiaLivyDnsZones: ReadonlyArray<string> = [];
|
||||
export const allowedHostedExplorerEndpoints: ReadonlyArray<string> = ["https://cosmos.azure.com/"];
|
||||
|
||||
export const allowedHostedExplorerEndpoints: ReadonlyArray<string> = [];
|
||||
|
||||
export const allowedMsalRedirectEndpoints: ReadonlyArray<string> = [];
|
||||
export const allowedMsalRedirectEndpoints: ReadonlyArray<string> = [
|
||||
"https://cosmos-explorer-preview.azurewebsites.net/",
|
||||
];
|
||||
|
||||
export const allowedNotebookServerUrls: ReadonlyArray<string> = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user