mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Better logic
This commit is contained in:
parent
c60ec2fb8b
commit
1b60ca440e
@ -10,9 +10,7 @@ export default {
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
replace({
|
replace({
|
||||||
'/api/collect': process.env.API_COLLECT_ENDPOINT
|
'/api/collect': process.env.API_COLLECT_ENDPOINT || '/api/collect',
|
||||||
? process.env.API_COLLECT_ENDPOINT
|
|
||||||
: '/api/collect',
|
|
||||||
delimiters: ['', ''],
|
delimiters: ['', ''],
|
||||||
}),
|
}),
|
||||||
buble({ objectAssign: true }),
|
buble({ objectAssign: true }),
|
||||||
|
Loading…
Reference in New Issue
Block a user