feat: 修改url地址,防止307成错误的url地址

This commit is contained in:
jianxiong.cao
2023-09-22 15:11:52 +08:00
parent 43589c66e9
commit 2dc0eca4aa
13 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ async function handleAddDownload(_site: any = undefined,
async function addDownload(_media: any, _torrent: any) {
startNProgress()
try {
const result: { [key: string]: any } = await api.post('download', {
const result: { [key: string]: any } = await api.post('download/', {
media_in: _media,
torrent_in: _torrent,
})