-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from silinternational/develop
Release 5.3.6
- Loading branch information
Showing
9 changed files
with
243 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,43 @@ | ||
import '@babel/polyfill' | ||
import Vue from 'vue' | ||
import { configuredRouter, configuredVuetify } from './plugins' | ||
import App from './App.vue' | ||
import '@babel/polyfill' | ||
import '@/global/components' | ||
import '@/global/filters' | ||
import { configuredRouter as router, configuredVuetify } from './plugins' | ||
import * as Sentry from '@sentry/vue' | ||
import Vue from 'vue' | ||
|
||
const environment = process.env.NODE_ENV || 'development' | ||
const dsn = process.env.VUE_APP_SENTRY_DSN | ||
const release = process.env.VUE_APP_VERSION | ||
|
||
console.debug('Environment:', environment, 'Release:', release, 'DSN:', dsn) | ||
Sentry.init({ | ||
Vue, | ||
dsn, | ||
integrations: [Sentry.browserTracingIntegration({ router }), Sentry.replayIntegration()], | ||
environment, | ||
// Set tracesSampleRate to 1.0 to capture 100% | ||
// of transactions for performance monitoring. | ||
// We recommend adjusting this value in production | ||
tracesSampleRate: 1.0, | ||
|
||
// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled | ||
// tracePropagationTargets: ['localhost', /^https:\/\/yourserver\.io\/api/], | ||
|
||
// Capture Replay for 10% of all sessions, | ||
// plus for 100% of sessions with an error | ||
replaysSessionSampleRate: 0.1, | ||
replaysOnErrorSampleRate: 1.0, | ||
}) | ||
|
||
new Vue({ | ||
data: { | ||
idpConfig: {} | ||
idpConfig: {}, | ||
}, | ||
async created() { | ||
this.idpConfig = await this.$API.get('config') | ||
}, | ||
vuetify: configuredVuetify, | ||
router: configuredRouter, | ||
render: h => h(App), | ||
router, | ||
render: (h) => h(App), | ||
}).$mount('#app') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.