From 4881d9bcb72264c99c1939fe74cb3349ee9b7181 Mon Sep 17 00:00:00 2001 From: Mark Hinschberger Date: Tue, 3 Dec 2024 10:09:39 +0000 Subject: [PATCH] fix: safe local --- next.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/next.config.js b/next.config.js index d1a9f8e690..577c487cf6 100644 --- a/next.config.js +++ b/next.config.js @@ -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', + // }, + // ], + // }, + // ]; + // }, });