URL fixes and adding source and client_ts in clickstreamEventService.ts | Kunal (#134)

* url fix

* URL fixes and adding source and client_ts in clickstreamEventService.ts

* @TP-20455 | Quick Filters styling and fixes
This commit is contained in:
Kunal Sharma
2023-03-14 13:27:26 +05:30
committed by GitHub Enterprise
parent e085c6235a
commit 4999fb6e62
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
export const BASE_AV_APP_URL = 'https://dev-longhorn-server.np.navi-tech.in/field-app';
export const BASE_AV_APP_URL = 'https://dev-longhorn-portal.np.navi-tech.in/field-app';
export const SENTRY_DSN = 'https://877396e88a2b4f78b911016c64f9121a@glitchtip.cmd.navi-tech.in/155';
export const JANUS_SERVICE_URL = 'https://dev-longhorn-portal.np.navi-tech.in/api/events/json';
export const ENV = 'dev';

View File

@@ -1,4 +1,4 @@
export const BASE_AV_APP_URL = 'https://qa-longhorn-portal.np.navi-tech.in/field-app';
export const BASE_AV_APP_URL = 'https://thor-longhorn-portal.np.navi-tech.in/field-app/field-app';
export const SENTRY_DSN = 'https://877396e88a2b4f78b911016c64f9121a@glitchtip.cmd.navi-tech.in/155';
export const JANUS_SERVICE_URL = 'https://qa-longhorn-portal.np.navi-tech.in/api/events/json';
export const ENV = 'qa';

View File

@@ -73,6 +73,8 @@ const getPayload = (events: IClickstreamEvent[]) => {
agentId,
deviceId,
},
client_ts: new Date().getTime(),
source: APP_NAME
};
};