diff --git a/src/views/About.vue b/src/views/About.vue index 12ac7e9..e37e7fc 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -99,7 +99,7 @@ export default { created() { axios.post("https://cms.aplesports.com/api/collections/get/Members", {}, { headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }).then((res) => { this.members = res.data.entries; diff --git a/src/views/Article.vue b/src/views/Article.vue index 43043a7..9b6c65e 100644 --- a/src/views/Article.vue +++ b/src/views/Article.vue @@ -65,7 +65,7 @@ export default { } }, { headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res) => { @@ -93,7 +93,7 @@ export default { } }, { headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res) => { diff --git a/src/views/Home.vue b/src/views/Home.vue index 3fdebe0..bd40a45 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -170,7 +170,7 @@ export default { } } ,{ headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res) => { @@ -179,7 +179,7 @@ export default { axios.get("https://cms.aplesports.com/api/collections/get/Tournaments", { headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res2) => { diff --git a/src/views/News.vue b/src/views/News.vue index 193b95d..367680b 100644 --- a/src/views/News.vue +++ b/src/views/News.vue @@ -71,7 +71,7 @@ export default { } } ,{ headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res) => { diff --git a/src/views/Tournaments.vue b/src/views/Tournaments.vue index ee32fc6..3c74aed 100644 --- a/src/views/Tournaments.vue +++ b/src/views/Tournaments.vue @@ -70,7 +70,7 @@ export default { } } ,{ headers: { - 'Cockpit-Token': env('VUE_APP_CMS_TOKEN') + 'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN } }) .then((res) => {