Add missing endpoints

This commit is contained in:
artrejo 2022-01-21 17:45:47 -08:00
parent e9b168be6d
commit 16bb03c47c
2 changed files with 6 additions and 16 deletions

View File

@ -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,

View File

@ -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> = [];