feat: add posthog reverse proxy (#449)

This commit is contained in:
David Nguyen
2023-09-28 12:56:53 +10:00
committed by Mythie
parent cca1bb4639
commit 7ec8ce2a56
3 changed files with 19 additions and 1 deletions

View File

@ -29,6 +29,14 @@ const config = {
transform: 'lucide-react/dist/esm/icons/{{ kebabCase member }}',
},
},
async rewrites() {
return [
{
source: '/ingest/:path*',
destination: 'https://eu.posthog.com/:path*',
},
];
},
};
module.exports = config;