Clean up ApiRouter adding MiscController, move upload and scan to api endpoints

This commit is contained in:
advplyr 2022-03-18 11:51:55 -05:00
parent 69fcb103e4
commit 57399bb79e
14 changed files with 299 additions and 270 deletions

View file

@ -232,7 +232,7 @@ export default {
})
return this.$axios
.$post('/upload', form)
.$post('/api/upload', form)
.then(() => true)
.catch((error) => {
console.error('Failed', error)