share routes refactoring

This commit is contained in:
Čarodej
2022-05-13 11:40:39 +02:00
parent c0e431b384
commit 69a48e8925
35 changed files with 267 additions and 145 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export default {
// Send request to get verify account
axios
.post('/api/browse/authenticate/' + this.$route.params.token, {
.post('/api/sharing/authenticate/' + this.$route.params.token, {
password: this.password,
})
.then((response) => {
+1 -1
View File
@@ -108,7 +108,7 @@ export default {
},
mounted() {
axios
.get(`/api/browse/file/${this.$router.currentRoute.params.token}`)
.get(`/api/sharing/file/${this.$router.currentRoute.params.token}`)
.then((response) => {
this.file = response.data
})