Skip to content

Commit

Permalink
Merge pull request #53 from Resgrid/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ucswift authored Jan 11, 2025
2 parents 306434a + 38a88f3 commit 7bdbb78
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 6 deletions.
2 changes: 2 additions & 0 deletions android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions android/.idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/assets/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
window['env'] = window['env'] || {};

// Environment variables
window['env']['baseApiUrl'] = 'https://qaapi.resgrid.com';
window['env']['baseApiUrl'] = 'https://sjapi.resgrid.dev';
window['env']['resgridApiUrl'] = '/api/v4';
window['env']['channelUrl'] = 'https://qaevents.resgrid.com/';
window['env']['channelUrl'] = 'https://sjevents.resgrid.dev/';
window['env']['channelHubName'] = 'eventingHub';
window['env']['realtimeGeolocationHubName'] = 'geolocationHub';
window['env']['logLevel'] = '0';
Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

export const environment = {
production: false,
baseApiUrl: window["env"]["baseApiUrl"] || 'https://qaapi.resgrid.com',
baseApiUrl: window["env"]["baseApiUrl"] || 'https://sjapi.resgrid.dev',
resgridApiUrl: window["env"]["resgridApiUrl"] || '/api/v4',
channelUrl: window["env"]["channelUrl"] || 'https://qaevents.resgrid.com/',
channelUrl: window["env"]["channelUrl"] || 'https://sjevents.resgrid.dev/',
channelHubName: window["env"]["channelHubName"] || 'eventingHub',
realtimeGeolocationHubName: window["env"]["realtimeGeolocationHubName"] || 'geolocationHub',
logLevel: window["env"]["logLevel"] || 0,
Expand Down
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ if (environment.loggingKey && environment.loggingKey !== 'LOGGINGKEY') {
environment: environment.production ? 'prod' : 'dev',
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
Sentry.replayIntegration({
maskAllText: false
}),
],
ignoreErrors: [serverErrorsRegex],
tracesSampleRate: environment.production ? 0.4 : 1.0,
Expand All @@ -31,7 +33,7 @@ if (environment.loggingKey && environment.loggingKey !== 'LOGGINGKEY') {
// Capture Replay for 10% of all sessions,
// plus for 100% of sessions with an error
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0
});
}

Expand Down

0 comments on commit 7bdbb78

Please sign in to comment.