|
@@ -11,18 +11,6 @@ const gitSha = cp.execSync('git rev-parse --short HEAD', {
|
|
|
encoding: 'utf8',
|
|
|
});
|
|
|
|
|
|
-// eslint-disable-next-line camelcase
|
|
|
-const COOP_COEP_Headers = [
|
|
|
- {
|
|
|
- key: 'Cross-Origin-Opener-Policy',
|
|
|
- value: 'same-origin',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'Cross-Origin-Embedder-Policy',
|
|
|
- value: 'require-corp',
|
|
|
- },
|
|
|
-];
|
|
|
-
|
|
|
module.exports = withSentryConfig(
|
|
|
withWorkbox(
|
|
|
withBundleAnalyzer({
|
|
@@ -41,16 +29,6 @@ module.exports = withSentryConfig(
|
|
|
'static/webpack/[fullhash].[runtime].hot-update.json';
|
|
|
return config;
|
|
|
},
|
|
|
-
|
|
|
- async headers() {
|
|
|
- return [
|
|
|
- {
|
|
|
- // Apply these headers to all routes in your application.
|
|
|
- source: '/(.*)',
|
|
|
- headers: COOP_COEP_Headers,
|
|
|
- },
|
|
|
- ];
|
|
|
- },
|
|
|
})
|
|
|
),
|
|
|
{ release: gitSha }
|