diff --git a/manifest.json b/manifest.json index aaf4fde..980f690 100644 --- a/manifest.json +++ b/manifest.json @@ -5,6 +5,9 @@ "main": "dist/code.js", "ui": "dist/index.html", "editorType": ["figma"], - "networkAccess": { "allowedDomains": ["https://bam.eu01.nr-data.net"] }, + "networkAccess": { + "allowedDomains": ["https://bam.eu01.nr-data.net"], + "reasoning": "We use New Relic to monitor the performance of our application and get errors information." + }, "documentAccess": "dynamic-page" } diff --git a/ui-src/.env.example b/ui-src/.env.example index 394b32f..208f42c 100644 --- a/ui-src/.env.example +++ b/ui-src/.env.example @@ -3,5 +3,3 @@ VITE_TRUST_KEY= VITE_AGENT_ID= VITE_LICENSE_KEY= VITE_APPLICATION_ID= -VITE_BEACON= -VITE_ERROR_BEACON= diff --git a/ui-src/main.tsx b/ui-src/main.tsx index 34480b6..f8b6c9f 100644 --- a/ui-src/main.tsx +++ b/ui-src/main.tsx @@ -11,7 +11,7 @@ const options = { init: { distributed_tracing: { enabled: false }, privacy: { cookies_enabled: true }, - ajax: { deny_list: [import.meta.env.VITE_BEACON] } + ajax: { deny_list: ['bam.eu01.nr-data.net'] } }, loader_config: { accountID: import.meta.env.VITE_ACCOUNT_ID, @@ -21,8 +21,8 @@ const options = { applicationID: import.meta.env.VITE_APPLICATION_ID }, info: { - beacon: import.meta.env.VITE_BEACON, - errorBeacon: import.meta.env.VITE_ERROR_BEACON, + beacon: 'bam.eu01.nr-data.net', + errorBeacon: 'bam.eu01.nr-data.net', licenseKey: import.meta.env.VITE_LICENSE_KEY, applicationID: import.meta.env.VITE_APPLICATION_ID, sa: 1