mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 21:57:47 +02:00
Set up paths & namespace to match versioned routes
This commit is contained in:
@ -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 } });
|
||||
},
|
||||
|
Reference in New Issue
Block a user