fix url to avoid 301

This commit is contained in:
2025-04-20 00:41:21 +02:00
parent 888ed093a1
commit eb60fc4dd3

View File

@@ -39,7 +39,7 @@ export default {
methods: { methods: {
async fetchFiles(){ async fetchFiles(){
this.loading = true; this.loading = true;
let response = await fetch(`/api/torrent/files?${new URLSearchParams(this.filters)}`); let response = await fetch(`/api/torrent/files/?${new URLSearchParams(this.filters)}`);
this.files = await response.json(); this.files = await response.json();
this.loading = false; this.loading = false;
return this.files; return this.files;