mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Fixed rewrite config.
This commit is contained in:
parent
fcf51d9727
commit
cb55cec342
@ -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',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user