[dev] disable matomo on dev

This commit is contained in:
Avris 2021-09-25 14:56:05 +02:00
parent de5307a01d
commit 4df61347b9
1 changed files with 7 additions and 5 deletions

View File

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