36 lines
857 B
JavaScript
36 lines
857 B
JavaScript
/** @type {import('next').NextConfig} */
|
||
const nextConfig = {
|
||
output: 'standalone',
|
||
async headers() {
|
||
return [
|
||
{
|
||
// Apply these headers to all routes
|
||
source: '/(.*)',
|
||
headers: [
|
||
{
|
||
key: 'X-Frame-Options',
|
||
value: 'DENY',
|
||
},
|
||
{
|
||
key: 'X-Content-Type-Options',
|
||
value: 'nosniff',
|
||
},
|
||
{
|
||
key: 'Referrer-Policy',
|
||
value: 'origin-when-cross-origin',
|
||
},
|
||
],
|
||
},
|
||
]
|
||
},
|
||
// Разрешить WebSocket подключения к внешним доменам
|
||
experimental: {
|
||
serverComponentsExternalPackages: [],
|
||
},
|
||
// Настройки для работы с внешними доменами
|
||
images: {
|
||
domains: ['hr.aiquity.xyz'],
|
||
},
|
||
}
|
||
|
||
module.exports = nextConfig |