mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed rewrite config.
This commit is contained in:
parent
fcf51d9727
commit
cb55cec342
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue