Fixed rewrite config.
This commit is contained in:
@@ -39,8 +39,8 @@ const rewrites = [];
|
|||||||
|
|
||||||
if (process.env.COLLECT_API_ENDPOINT) {
|
if (process.env.COLLECT_API_ENDPOINT) {
|
||||||
rewrites.push({
|
rewrites.push({
|
||||||
source: 'process.env.COLLECT_API_ENDPOINT',
|
source: process.env.COLLECT_API_ENDPOINT,
|
||||||
destination: '/api/in',
|
destination: '/api/send',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user