()
| 8 | */ |
| 9 | const nextConfig = { |
| 10 | async rewrites() { |
| 11 | return [ |
| 12 | { |
| 13 | source: '/sitemap/:path*', |
| 14 | destination: `${staticCdn}/sitemap/:path*`, |
| 15 | }, |
| 16 | { |
| 17 | source: '/d/:path*', |
| 18 | destination: `/s/:path*`, |
| 19 | }, |
| 20 | { |
| 21 | source: '/ph/:path*', |
| 22 | destination: 'https://app.posthog.com/:path*', |
| 23 | }, |
| 24 | { |
| 25 | source: '/pp/js/script.js', |
| 26 | destination: 'https://plausible.io/js/script.js', |
| 27 | }, |
| 28 | { |
| 29 | source: '/pp/api/event', |
| 30 | destination: 'https://plausible.io/api/event', |
| 31 | }, |
| 32 | ]; |
| 33 | }, |
| 34 | images: { |
| 35 | unoptimized: true, |
| 36 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected