Fixed issue with wrong upload file.
This commit is contained in:
1 parent
21743d032c
commit
0831b2bbfb
1 file changed
+1
-1
@@ -62,7 +62,7 @@ export default {
|
|||||||
return (bytes / Math.pow(1024, e)).toFixed(2) + ' ' + ' KMGTP'.charAt(e) + 'B';
|
return (bytes / Math.pow(1024, e)).toFixed(2) + ' ' + ' KMGTP'.charAt(e) + 'B';
|
||||||
},
|
},
|
||||||
getFiles: function () {
|
getFiles: function () {
|
||||||
axios.get(document.URL + '/files').then(response => this.files = response.data)
|
axios.get(window.location.href.replace(window.location.hash, '') + '/files').then(response => this.files = response.data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user