config issues prod
This commit is contained in:
@@ -316,6 +316,7 @@ export default defineComponent({
|
||||
method: 'get',
|
||||
url: path,
|
||||
headers: authHeader(),
|
||||
withCredentials: true,
|
||||
})
|
||||
.then((response: any) => {
|
||||
if (response.data.current_phone) {
|
||||
@@ -331,9 +332,7 @@ export default defineComponent({
|
||||
return axios({
|
||||
method: 'post',
|
||||
url: path,
|
||||
headers: {
|
||||
'Authorization': `Bearer ${import.meta.env.VITE_VOIPMS_TOKEN}`,
|
||||
},
|
||||
withCredentials: true, headers: authHeader()
|
||||
})
|
||||
.then((response: any) => {
|
||||
this.routeResponse = response.data;
|
||||
@@ -380,9 +379,7 @@ export default defineComponent({
|
||||
axios({
|
||||
method: 'get',
|
||||
url: path,
|
||||
headers: {
|
||||
'Authorization': `Bearer ${import.meta.env.VITE_VOIPMS_TOKEN}`,
|
||||
},
|
||||
withCredentials: true, headers: authHeader()
|
||||
})
|
||||
.then((response: any) => {
|
||||
this.testResponse = response.data;
|
||||
|
||||
Reference in New Issue
Block a user