Rename config variable again

This commit is contained in:
Ramon Wenger 2019-02-14 12:34:17 +01:00
parent 3d09cc8e4b
commit 63e98b099f
1 changed files with 3 additions and 3 deletions

View File

@ -46,12 +46,12 @@ Vue.use(VueScrollTo, {
offset: -50
});
if (process.env.VUE_APP_GOOGLE_ANALYTICS_ID) {
if (process.env.GOOGLE_ANALYTICS_ID) {
Vue.use(VueAnalytics, {
id: process.env.VUE_APP_GOOGLE_ANALYTICS_ID,
id: process.env.GOOGLE_ANALYTICS_ID,
router
});
console.log(process.env.VUE_APP_GOOGLE_ANALYTICS_ID);
console.log(process.env.GOOGLE_ANALYTICS_ID);
}
// taken from https://stackoverflow.com/questions/36170425/detect-click-outside-element