Set up paths & namespace to match versioned routes

This commit is contained in:
Bubka
2021-11-07 21:57:22 +01:00
parent 0f17d93152
commit 7efa86b232
47 changed files with 98 additions and 94 deletions

View File

@ -79,7 +79,7 @@
mounted() {
this.axios.get('api/twofaccounts/count').then(response => {
this.axios.get('api/v1/twofaccounts/count').then(response => {
this.accountCount = response.data.count
})
},
@ -105,7 +105,7 @@
imgdata.append('qrcode', this.$refs.qrcodeInput.files[0]);
imgdata.append('inputFormat', 'fileUpload');
const { data } = await this.form.upload('/api/qrcode/decode', imgdata)
const { data } = await this.form.upload('/api/v1/qrcode/decode', imgdata)
this.$router.push({ name: 'createAccount', params: { decodedUri: data.data } });
},