mirror of
https://github.com/luxfhe/research-ocp-fhe.git
synced 2026-11-03 06:05:38 +00:00
31 lines
695 B
TypeScript
31 lines
695 B
TypeScript
import type { NextConfig } from 'next';
|
|
|
|
const nextConfig: NextConfig = {
|
|
webpack: config => {
|
|
config.externals.push('pino-pretty', 'lokijs', 'encoding');
|
|
return config;
|
|
},
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: '/(.*?)',
|
|
headers: [
|
|
{
|
|
key: 'Cross-Origin-Opener-Policy',
|
|
value: 'same-origin', // Matched parameters can be used in the value
|
|
},
|
|
{
|
|
key: 'Cross-Origin-Embedder-Policy', // Matched parameters can be used in the key
|
|
value: 'require-corp',
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
devIndicators: {
|
|
position: 'bottom-right',
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|