Fixed rewrite config.
parent
fcf51d9727
commit
cb55cec342
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue