From bcc20a486733d582ad031eb94dc7bab278a46a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Torres?= Date: Fri, 17 May 2024 10:22:36 +0100 Subject: [PATCH] Update app signal FE variables --- packages/web-app/app/app-signal.ts | 4 ++-- packages/web-app/appsignal.cjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web-app/app/app-signal.ts b/packages/web-app/app/app-signal.ts index 2a0f4b7c..5912f527 100644 --- a/packages/web-app/app/app-signal.ts +++ b/packages/web-app/app/app-signal.ts @@ -1,6 +1,6 @@ import Appsignal from '@appsignal/javascript'; export const appSignal = new Appsignal({ - key: process.env.NEXT_APP_SIGNAL, - namespace: process.env.NEXT_APP_SIGNAL_ENV || process.env.NODE_ENV, + key: process.env.NEXT_PUBLIC_APP_SIGNAL, + namespace: process.env.NEXT_PUBLIC_APP_SIGNAL_ENV || process.env.NODE_ENV, }); diff --git a/packages/web-app/appsignal.cjs b/packages/web-app/appsignal.cjs index c6e4429d..6d63d1ab 100644 --- a/packages/web-app/appsignal.cjs +++ b/packages/web-app/appsignal.cjs @@ -3,7 +3,7 @@ const { Appsignal } = require('@appsignal/nodejs'); new Appsignal({ active: true, name: 'citizend', - environment: process.env.NEXT_APP_SIGNAL_ENV || process.env.NODE_ENV, + environment: process.env.NEXT_PUBLIC_APP_SIGNAL_ENV || process.env.NODE_ENV, pushApiKey: process.env.NEXT_APP_SIGNAL, disableDefaultInstrumentations: ['@opentelemetry/instrumentation-http'], });