From eb60fc4dd3d2fba3a4790c3a78ef5edd036bd085 Mon Sep 17 00:00:00 2001 From: Nell Date: Sun, 20 Apr 2025 00:41:21 +0200 Subject: [PATCH] fix url to avoid 301 --- app/frontend/src/components/torrent/FileList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/frontend/src/components/torrent/FileList.vue b/app/frontend/src/components/torrent/FileList.vue index 4b12f46..99300d5 100644 --- a/app/frontend/src/components/torrent/FileList.vue +++ b/app/frontend/src/components/torrent/FileList.vue @@ -39,7 +39,7 @@ export default { methods: { async fetchFiles(){ 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.loading = false; return this.files;