From f9d91061a7a2dce8d9224dda687c3c8fc32fcaa9 Mon Sep 17 00:00:00 2001 From: kcheekuri Date: Wed, 10 Nov 2021 12:56:08 -0500 Subject: [PATCH] Change endpoint --- src/ConfigContext.ts | 1 + src/Explorer/Notebook/useNotebook.ts | 8 ++++---- src/Phoenix/PhoenixClient.ts | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ConfigContext.ts b/src/ConfigContext.ts index 289e650cb..224d28f8d 100644 --- a/src/ConfigContext.ts +++ b/src/ConfigContext.ts @@ -58,6 +58,7 @@ let configContext: Readonly = { allowedJunoOrigins: [ "https://juno-test.documents-dev.windows-int.net", "https://juno-test2.documents-dev.windows-int.net", + "https://juno-test3.documents-dev.windows-int.net", "https://tools.cosmos.azure.com", "https://tools-staging.cosmos.azure.com", "https://localhost", diff --git a/src/Explorer/Notebook/useNotebook.ts b/src/Explorer/Notebook/useNotebook.ts index a7f4e2103..fd89a27fc 100644 --- a/src/Explorer/Notebook/useNotebook.ts +++ b/src/Explorer/Notebook/useNotebook.ts @@ -215,10 +215,10 @@ export const useNotebook: UseStore = create((set, get) => ({ }; const gitHubNotebooksContentRoot = notebookManager?.gitHubOAuthService?.isLoggedIn() ? { - name: "GitHub repos", - path: "PsuedoDir", - type: NotebookContentItemType.Directory, - } + name: "GitHub repos", + path: "PsuedoDir", + type: NotebookContentItemType.Directory, + } : undefined; set({ diff --git a/src/Phoenix/PhoenixClient.ts b/src/Phoenix/PhoenixClient.ts index 7a2048131..07ba7454c 100644 --- a/src/Phoenix/PhoenixClient.ts +++ b/src/Phoenix/PhoenixClient.ts @@ -165,7 +165,7 @@ export class PhoenixClient { } public getPhoenixContainerPoolingEndPoint(): string { - return `${PhoenixClient.getPhoenixEndpoint()}/api/controlplane/toolscontainer`; + return `${PhoenixClient.getPhoenixEndpoint()}/api/controlplane/toolscontainer/cosmosaccounts`; } private static getHeaders(): HeadersInit {