Fixed issue with wrong upload file.
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
return (bytes / Math.pow(1024, e)).toFixed(2) + ' ' + ' KMGTP'.charAt(e) + 'B';
|
||||
},
|
||||
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