Merge pull request #81 from rcl-viveksharma/tracker_issue

Tracker issue
This commit is contained in:
the-rarbg 2024-06-29 11:29:56 +05:30 committed by GitHub
commit 60de5a69c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -35,9 +35,8 @@ const Details = () => {
let temp = '&tr='
let tracker = ''
trackers.map(item => {
tracker = tracker + temp + item
tracker = tracker + temp + item
})
const router = useRouter()
let id
let slug
@ -65,7 +64,7 @@ const Details = () => {
.then(res => {
setLoader(false)
let url = `magnet:?xt=urn:btih:${res?.data?.info_hash}&dn=${res?.data?.name}${trackers}`
let url = `magnet:?xt=urn:btih:${res?.data?.info_hash}&dn=${res?.data?.name}${tracker}`
let url_t = `https://m2t.mirrorbay.org/info-hash/${res?.data?.info_hash}/${res?.data?.name}/?apikey=therarbg`
setMagnateDownload(url)
setTorrentDownload(url_t)

View file

@ -1,5 +1,5 @@
import axios from "axios";
export const API_BASE = 'https://t-rb.org';
export const API_BASE = 'https://therarbg.to';
//const API_BASE = 'https://therarbg.com';
let token;