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), };