fix env to process.env lol

preview
Ayush Mukherjee 4 years ago
parent 0c2ce2fc84
commit e203c212f9

@ -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;

@ -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) => {

@ -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) => {

@ -71,7 +71,7 @@ export default {
}
} ,{
headers: {
'Cockpit-Token': env('VUE_APP_CMS_TOKEN')
'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN
}
})
.then((res) => {

@ -70,7 +70,7 @@ export default {
}
} ,{
headers: {
'Cockpit-Token': env('VUE_APP_CMS_TOKEN')
'Cockpit-Token': process.env.VUE_APP_CMS_TOKEN
}
})
.then((res) => {

Loading…
Cancel
Save