From 43ed97a014f6d208c6aa4b42d40aedd41b4fabb9 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sun, 19 Mar 2023 13:38:34 +0800 Subject: [PATCH] refactor: fix application insights role names (#3498) --- packages/cloud/src/index.ts | 2 +- packages/core/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cloud/src/index.ts b/packages/cloud/src/index.ts index 93f71f634..6b0c6fcdc 100644 --- a/packages/cloud/src/index.ts +++ b/packages/cloud/src/index.ts @@ -7,7 +7,7 @@ import { findUp } from 'find-up'; dotenv.config({ path: await findUp('.env', {}) }); const { appInsights } = await import('@logto/shared/app-insights'); -appInsights.setup('logto-cloud-eu'); +appInsights.setup('logto-cloud'); const { default: withAuth } = await import('./middleware/with-auth.js'); const { default: withHttpProxy } = await import('./middleware/with-http-proxy.js'); diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 1f416d51e..6e6301d5a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -9,7 +9,7 @@ import SystemContext from './tenants/SystemContext.js'; dotenv.config({ path: await findUp('.env', {}) }); const { appInsights } = await import('@logto/shared/app-insights'); -appInsights.setup('logto-cloud-eu'); +appInsights.setup('logto'); // Import after env has been configured const { loadConnectorFactories } = await import('./utils/connectors/index.js');