Skip to content

Commit

Permalink
fix: safe local
Browse files Browse the repository at this point in the history
  • Loading branch information
foodaka committed Dec 3, 2024
1 parent f9ce949 commit 4881d9b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,26 @@ module.exports = withBundleAnalyzer({
// assetPrefix: "./",
trailingSlash: true,
pageExtensions,
// NOTE: Needed for SAFE testing locally
// async headers() {
// return [
// {
// source: '/manifest.json',
// headers: [
// {
// key: 'Access-Control-Allow-Origin',
// value: '*',
// },
// {
// key: 'Access-Control-Allow-Methods',
// value: 'GET',
// },
// {
// key: 'Access-Control-Allow-Headers',
// value: 'X-Requested-With, content-type, Authorization',
// },
// ],
// },
// ];
// },
});

0 comments on commit 4881d9b

Please sign in to comment.