gamejam_v1 / next.config.js
rolexx's picture
wip
4148927
raw
history blame contribute delete
476 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
assetPrefix: process.env.NODE_ENV === 'production' ? '/' : '',
images: {
domains: ['huggingface.co'],
unoptimized: true,
},
headers: async () => {
return [
{
source: '/:path*',
headers: [
{
key: 'Permissions-Policy',
value: 'microphone=self'
}
]
}
];
}
}
module.exports = nextConfig