ci: migrate to @sentry/nuxt

This commit is contained in:
2024-10-21 21:09:30 +02:00
parent 33a23ef428
commit 3559c2067a
5 changed files with 762 additions and 102 deletions
-3
View File
@@ -15,9 +15,6 @@ import { DefaultApolloClient, provideApolloClient } from '@vue/apollo-composable
import type { Auth0VueClient } from '@auth0/auth0-vue'
import { defineNuxtPlugin, useNuxtApp } from '#app'
import { envConfig } from '~/utils/environment'
// The side effect of patching fetch() has to occur before configuring Apollo Client
// https://github.com/getsentry/sentry-javascript/issues/2860#issuecomment-684514367
import './sentry'
const apiUrl = envConfig(window.location.hostname).apiUrl
const wsUrl = apiUrl.replace(/^http/, 'ws')