Grabby-Voice / next.config.js
moonlantern1's picture
Deploy Grabby Voice mobile app
a733514 verified
raw
history blame contribute delete
510 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
// ffmpeg.wasm needs SharedArrayBuffer, which requires cross-origin isolation headers.
async headers() {
return [
{
source: '/(.*)',
headers: [
{ key: 'Cross-Origin-Opener-Policy', value: 'same-origin' },
{ key: 'Cross-Origin-Embedder-Policy', value: 'require-corp' },
],
},
];
},
};
module.exports = nextConfig;