Skip to content

Commit 0e6d262

Browse files
committed
Try old config #3475
1 parent 7ff2069 commit 0e6d262

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

web/next.config.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import { withSentryConfig } from "@sentry/nextjs";
1212
const withNextIntl = createNextIntlPlugin()
1313

1414
const isProd = process.env.NODE_ENV === 'production'
15-
/* const sentryConfig = {
15+
const sentryConfig = {
1616
org: 'equinor',
1717
project: 'equinor-com',
1818
silent: true,
1919
disableLogger: true,
2020
widenClientFileUpload: true,
2121
disableClientWebpackPlugin: !isProd,
2222
disableServerWebpackPlugin: !isProd,
23-
} */
23+
}
2424

2525
//TODO: Find the Redirect type from config that is not in /dist.
2626
export type ConfigRedirect = {
@@ -116,9 +116,4 @@ const nextConfig: NextConfig = withNextIntl({
116116
},
117117
})
118118

119-
export default withSentryConfig(nextConfig,{
120-
org: 'equinor',
121-
project: 'equinor-com',
122-
silent: !process.env.CI,
123-
disableLogger: true,
124-
})
119+
export default withSentryConfig(nextConfig,sentryConfig)

0 commit comments

Comments
 (0)