Skip to content

Commit

Permalink
fix: CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 2, 2025
1 parent 59eda56 commit 67f5a3e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

module.exports = nextConfig;

// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");

module.exports = withSentryConfig(module.exports, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

const nextConfig = {
headers: async () => {
return [
{
Expand All @@ -28,6 +17,17 @@ module.exports = withSentryConfig(module.exports, {
},
];
},
};

module.exports = nextConfig;

// Injected content via Sentry wizard below

const { withSentryConfig } = require("@sentry/nextjs");

module.exports = withSentryConfig(module.exports, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: true,
Expand Down

0 comments on commit 67f5a3e

Please sign in to comment.