Skip to content

Commit

Permalink
feat: replace dsn for karmada-community
Browse files Browse the repository at this point in the history
Signed-off-by: warjiang <[email protected]>
  • Loading branch information
warjiang committed Nov 13, 2024
1 parent 174b6d2 commit f0bf7b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/apps/dashboard/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { initRoute } from '@/routes/route.tsx';
import * as Sentry from '@sentry/react';

Sentry.init({
dsn: 'https://5edc679922b621e4ea52b1f66f24f48d@o4507968956268544.ingest.us.sentry.io/4507968984711168',
dsn: 'https://11deae085432e4e68dc5dccf6d79162b@o4508215039623168.ingest.us.sentry.io/4508215089496064',
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
Expand Down
5 changes: 2 additions & 3 deletions ui/apps/dashboard/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig, loadEnv, Plugin } from 'vite';
import { defineConfig, Plugin } from 'vite';
import react from '@vitejs/plugin-react';
import svgr from 'vite-plugin-svgr';
import path from 'path';
Expand All @@ -19,7 +19,6 @@ const replacePathPrefixPlugin = (): Plugin => {

// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
return {
base: process.env.NODE_ENV === 'development' ? '' : '/static',
build: {
Expand All @@ -36,7 +35,7 @@ export default defineConfig(({ mode }) => {
// Put the Sentry vite plugin after all other plugins
sentryVitePlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'spotty-23',
org: 'karmada-community',
project: 'karmada-dashboard',
}),
],
Expand Down

0 comments on commit f0bf7b1

Please sign in to comment.