mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Merge with Peter branch_2
This commit is contained in:
+21
-21
@@ -8,35 +8,35 @@ import { defineCustomElements } from '@ionic/pwa-elements/loader';
|
||||
|
||||
import "hammerjs"; // HAMMER TIME
|
||||
|
||||
/////import * as Sentry from '@sentry/capacitor';
|
||||
import * as Sentry from '@sentry/capacitor';
|
||||
// The example is using Angular, Import '@sentry/vue' or '@sentry/react' when using a Sibling different than Angular.
|
||||
/////import * as SentrySibling from '@sentry/angular';
|
||||
import * as SentrySibling from '@sentry/angular';
|
||||
// For automatic instrumentation (highly recommended)
|
||||
///// import { Integration } from '@sentry/types';
|
||||
///// import { BrowserTracing } from '@sentry/tracing';
|
||||
import { Integration } from '@sentry/types';
|
||||
import { BrowserTracing } from '@sentry/tracing';
|
||||
|
||||
if (environment.production) {
|
||||
enableProdMode();
|
||||
}
|
||||
|
||||
///// Sentry.init(
|
||||
///// {
|
||||
///// dsn: 'https://5b345a3ae70b4e4da463da65881b4aaa@o4504340905525248.ingest.sentry.io/4504345615794176',
|
||||
///// // To set your release and dist versions
|
||||
///// release: 'gabinetedigital@1.0.0',
|
||||
///// dist: '1',
|
||||
///// // Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
|
||||
///// // We recommend adjusting this value in production.
|
||||
///// tracesSampleRate: 1.0,
|
||||
///// integrations: [
|
||||
///// new BrowserTracing({
|
||||
///// tracingOrigins: ['localhost', 'https://gd-api.oapr.gov.ao/api/'],
|
||||
///// }) as Integration,
|
||||
///// ]
|
||||
///// },
|
||||
Sentry.init(
|
||||
{
|
||||
dsn: 'https://5b345a3ae70b4e4da463da65881b4aaa@o4504340905525248.ingest.sentry.io/4504345615794176',
|
||||
// To set your release and dist versions
|
||||
release: 'gabinetedigital@1.0.0',
|
||||
dist: '1',
|
||||
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
|
||||
// We recommend adjusting this value in production.
|
||||
tracesSampleRate: 1.0,
|
||||
integrations: [
|
||||
new BrowserTracing({
|
||||
tracingOrigins: ['localhost', 'https://gd-api.oapr.gov.ao/api/'],
|
||||
}) as Integration,
|
||||
]
|
||||
},
|
||||
// Forward the init method to the sibling Framework.
|
||||
///// SentrySibling.init
|
||||
/////);
|
||||
SentrySibling.init
|
||||
);
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule)
|
||||
.catch(err => console.log(err));
|
||||
|
||||
Reference in New Issue
Block a user