mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Better logic
This commit is contained in:
parent
c60ec2fb8b
commit
1b60ca440e
1 changed files with 1 additions and 3 deletions
|
|
@ -10,9 +10,7 @@ export default {
|
|||
},
|
||||
plugins: [
|
||||
replace({
|
||||
'/api/collect': process.env.API_COLLECT_ENDPOINT
|
||||
? process.env.API_COLLECT_ENDPOINT
|
||||
: '/api/collect',
|
||||
'/api/collect': process.env.API_COLLECT_ENDPOINT || '/api/collect',
|
||||
delimiters: ['', ''],
|
||||
}),
|
||||
buble({ objectAssign: true }),
|
||||
|
|
|
|||
Loading…
Reference in a new issue