[dev] disable matomo on dev

This commit is contained in:
Andrea Vos 2021-09-25 14:56:05 +02:00
parent f3cd9616e6
commit 99b7f93a84

View File

@ -2,9 +2,11 @@ import Vue from 'vue'
import VueMatomo from 'vue-matomo'
export default ({ app }) => {
Vue.use(VueMatomo, {
router: app.router,
host: 'https://matomo.avris.it',
siteId: 20,
})
if (process.env.NODE_ENV === 'production') {
Vue.use(VueMatomo, {
router: app.router,
host: 'https://matomo.avris.it',
siteId: 20,
})
}
}