From 537158eff508b189cb2df1a20c596634932f8989 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 8 Mar 2024 08:04:46 -0500 Subject: [PATCH] Changed app setting name for logging path --- src/constants/application-config.js | 1 + src/helpers/logger.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants/application-config.js b/src/constants/application-config.js index b8a59a129..25d24d5c8 100644 --- a/src/constants/application-config.js +++ b/src/constants/application-config.js @@ -28,6 +28,7 @@ const applicationConfig = { YAHOO_CALENDAR: "https://calendar.yahoo.com/?v=60", OUTLOOK_CALENDAR: "https://outlook.office.com/calendar/deeplink/compose?path=/calendar/action/compose&rru=addevent", + FRONTEND_LOGGER_PATH: "/analytics/api/v1/logging", }; export { applicationConfig }; diff --git a/src/helpers/logger.js b/src/helpers/logger.js index 48a098340..c8ff400ec 100644 --- a/src/helpers/logger.js +++ b/src/helpers/logger.js @@ -63,7 +63,7 @@ export class Logger { } } - const url = applicationConfig.CONSUMER_CF_DISTRO + applicationConfig.FRONTEND_LOGGER_URL; + const url = applicationConfig.CONSUMER_CF_DISTRO + applicationConfig.FRONTEND_LOGGER_PATH; const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings), };