config issues prod

This commit is contained in:
2025-09-27 14:25:45 -04:00
parent d6525f2d24
commit 9cbb2954b5
14 changed files with 168 additions and 53 deletions

View File

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