From 38b6dc78456ba1f3e0b4f4aa71d20bc1b9c8bda5 Mon Sep 17 00:00:00 2001 From: Fe <64690761+chysis@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:02:21 +0900 Subject: [PATCH] [FE] CD test (#233) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: sentry 초기 설정 * chore: 서비스 타이틀 대문자로 변경 * chore: merge --- frontend/public/index.html | 53 +++++++++++++++++++------------------- frontend/src/index.tsx | 3 ++- frontend/webpack.config.js | 5 ++++ 3 files changed, 33 insertions(+), 28 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index a23909658..7184aec21 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -1,32 +1,31 @@ + + + + - + + + + + + + REVIEW ME + - gtag('config', 'G-SZC67V55PW'); - - - - - - - - review me - - - - -
- - - \ No newline at end of file + +
+ + diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 50a986ca3..cfe9acd68 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -25,10 +25,11 @@ const baseUrlPattern = new RegExp(`^${process.env.API_BASE_URL?.replace(/[-\/\\^ Sentry.init({ dsn: `${process.env.SENTRY_DSN}`, enabled: !isDev, - integrations: [Sentry.browserTracingIntegration()], environment: 'production', tracesSampleRate: 1.0, tracePropagationTargets: [baseUrlPattern], + replaysSessionSampleRate: 0.1, + replaysOnErrorSampleRate: 1.0, }); const queryClient = new QueryClient({ diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index fa6e53f07..f364121ca 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -61,6 +61,11 @@ module.exports = (env, argv) => { systemvars: true, path: './.env', }), + sentryWebpackPlugin({ + authToken: process.env.SENTRY_AUTH_TOKEN, + org: 'review-me', + project: 'review-me', + }), ], devtool: isProduction ? 'hidden-source-map' : 'eval', devServer: {