Skip to content

Commit

Permalink
fix: fix sentry org and typo (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaiJi authored May 9, 2024
1 parent 1b2e85b commit 9fa56eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
});

const isProd = process.env.NODE_ENV === "production";
const IS_CN_REGION = process.env.NEXT_PUBLIC_REGION === "CN";
const STATIC_CDN_URL = process.env.NEXT_PUBLIC_STATIC_CDN_URL;

const gitRevisionPlugin = new GitRevisionPlugin();
Expand Down Expand Up @@ -41,7 +42,7 @@ const nextConfig = {
sentry: {
// disableClientWebpackPlugin: true,
// disableServerWebpackPlugin: true,
hideSourcemaps: true,
hideSourceMaps: true,
disableLogger: true,
},
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
Expand Down Expand Up @@ -70,11 +71,10 @@ const sentryWebpackPluginOptions = {
// release, url, authToken, configFile, stripPrefix,
// urlPrefix, include, ignore

org: "jipai",
project: "furryeventchina",
org: IS_CN_REGION ? "kemono-games" : "jipai",
project: IS_CN_REGION ? "fec-web" : "furryeventchina",

silent: true, // Suppresses all logs
hideSourcemaps: true,

// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options.
Expand Down

0 comments on commit 9fa56eb

Please sign in to comment.