This commit is contained in:
4
.env
4
.env
@@ -5,8 +5,8 @@ WORDPRESS_APP_PASSWORD=DlJH 49dp fC3a Itc3 Sl7Z Wz0k'
|
|||||||
|
|
||||||
# Umami Analytics
|
# Umami Analytics
|
||||||
NEXT_PUBLIC_UMAMI_WEBSITE_ID=59a7db94-0100-4c7e-98ef-99f45b17f9c3
|
NEXT_PUBLIC_UMAMI_WEBSITE_ID=59a7db94-0100-4c7e-98ef-99f45b17f9c3
|
||||||
NEXT_PUBLIC_UMAMI_SCRIPT_URL=https://analytics.infra.mintel.me/script.js
|
NEXT_PUBLIC_UMAMI_SCRIPT_URL=/stats/script.js
|
||||||
|
|
||||||
# GlitchTip (Sentry protocol)
|
# GlitchTip (Sentry protocol)
|
||||||
SENTRY_DSN=https://c10957d0182245b1a2a806ac2d34a197@errors.infra.mintel.me/1
|
SENTRY_DSN=https://c10957d0182245b1a2a806ac2d34a197@errors.infra.mintel.me/1
|
||||||
NEXT_PUBLIC_SENTRY_DSN=https://c10957d0182245b1a2a806ac2d34a197@errors.infra.mintel.me/1
|
NEXT_PUBLIC_SENTRY_DSN=https://c10957d0182245b1a2a806ac2d34a197@klz-cables.com/errors/1
|
||||||
|
|||||||
@@ -342,6 +342,18 @@ const nextConfig = {
|
|||||||
contentDispositionType: 'attachment',
|
contentDispositionType: 'attachment',
|
||||||
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
|
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);
|
const nextIntlConfig = withNextIntl(nextConfig);
|
||||||
|
|||||||
Reference in New Issue
Block a user