From cb55cec34278bff54c2e401e71e575947ea995a4 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Wed, 8 Mar 2023 16:48:44 -0800 Subject: [PATCH] Fixed rewrite config. --- next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', }); }