proxy urls
Some checks failed
Build & Deploy KLZ Cables / deploy (push) Has been cancelled

This commit is contained in:
2026-01-25 13:22:19 +01:00
parent dd9f427ad5
commit cf5df1b46b
2 changed files with 14 additions and 2 deletions

View File

@@ -342,6 +342,18 @@ const nextConfig = {
contentDispositionType: 'attachment',
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
async rewrites() {
return [
{
source: '/stats/:path*',
destination: 'https://analytics.infra.mintel.me/:path*',
},
{
source: '/errors/:path*',
destination: 'https://errors.infra.mintel.me/:path*',
},
];
},
};
const nextIntlConfig = withNextIntl(nextConfig);