This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user