File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11import Vue from 'vue' ;
22import { ValidationProvider , ValidationObserver , extend } from 'vee-validate/dist/vee-validate.full.esm' ;
3+ import * as Sentry from '@sentry/browser' ;
4+ import { Vue as VueIntegration } from '@sentry/integrations' ;
5+ import { Integrations } from '@sentry/tracing' ;
36import http from './plugins/http' ;
47import errorMessenger from './plugins/errorMessenger' ;
58import App from './App.vue' ;
@@ -8,6 +11,18 @@ import store from './store';
811import validPassword from './validators/validPassword' ;
912import './assets/css/tailwind.css' ;
1013
14+ Sentry . init ( {
15+ dsn : 'https://fc31e918801742e2b1e691067496e257@o450203.ingest.sentry.io/5434440' ,
16+ integrations : [
17+ new VueIntegration ( {
18+ Vue,
19+ tracing : true ,
20+ } ) ,
21+ new Integrations . BrowserTracing ( ) ,
22+ ] ,
23+ tracesSampleRate : 1 ,
24+ } ) ;
25+
1126Vue . component ( 'ValidationProvider' , ValidationProvider ) ;
1227Vue . component ( 'ValidationObserver' , ValidationObserver ) ;
1328extend ( 'validPassword' , validPassword ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import ResetPasswordError from '../views/auth/ResetPasswordError.vue';
1111import Onboarding from '../views/app/Onboarding.vue' ;
1212import Browse from '../views/app/Browse.vue' ;
1313import Search from '../views/app/Search.vue' ;
14- import Settings from '../views/app/Settings.vue' ;
1514import User from '../components/app/users/User.vue' ;
1615import store from '../store/index' ;
1716
@@ -110,11 +109,6 @@ const routes = [
110109 component : Search ,
111110 beforeEnter : notLoggedInRedirectLogin ,
112111 } ,
113- {
114- path : '/settings' ,
115- component : Settings ,
116- beforeEnter : notLoggedInRedirectLogin ,
117- } ,
118112 {
119113 path : '/users/:id' ,
120114 component : User ,
You can’t perform that action at this time.
0 commit comments