diff --git a/next.config.js b/next.config.js index f72f8543..f45d7d81 100644 --- a/next.config.js +++ b/next.config.js @@ -39,8 +39,8 @@ const rewrites = []; if (process.env.COLLECT_API_ENDPOINT) { rewrites.push({ - source: 'process.env.COLLECT_API_ENDPOINT', - destination: '/api/in', + source: process.env.COLLECT_API_ENDPOINT, + destination: '/api/send', }); }