()
| 24 | }, |
| 25 | |
| 26 | async rewrites() { |
| 27 | return [ |
| 28 | { |
| 29 | source: '/ingest/static/:path*', |
| 30 | destination: 'https://us-assets.i.posthog.com/static/:path*', |
| 31 | }, |
| 32 | { |
| 33 | source: '/ingest/:path*', |
| 34 | destination: 'https://us.i.posthog.com/:path*', |
| 35 | }, |
| 36 | { |
| 37 | source: '/ingest/decide', |
| 38 | destination: 'https://us.i.posthog.com/decide', |
| 39 | }, |
| 40 | ]; |
| 41 | }, |
| 42 | // This is required to support PostHog trailing slash API requests |
| 43 | skipTrailingSlashRedirect: true, |
| 44 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected