Merge pull request #3 from starkSV/fix-aria2-disable-ipv6
fix(frontend): add --disable-ipv6=true to generated aria2 command
This commit is contained in:
commit
d0a70496da
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ export default function Aria2Tip({ downloadUrl }: Aria2TipProps) {
|
|||
const [copied, setCopied] = useState(false)
|
||||
|
||||
const urlPlaceholder = downloadUrl || 'PASTE_YOUR_LINK_HERE'
|
||||
const command = `aria2c -x 16 -s 16 "${urlPlaceholder}"`
|
||||
const command = `aria2c -x 16 -s 16 --disable-ipv6=true "${urlPlaceholder}"`
|
||||
|
||||
function handleCopy() {
|
||||
navigator.clipboard.writeText(command)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ const faqs: FaqItem[] = [
|
|||
},
|
||||
{
|
||||
q: 'Can I use this with IDM or aria2?',
|
||||
a: 'Absolutely — and we strongly recommend it. Microsoft throttles single-threaded browser downloads. Tools like aria2 (aria2c -x 16 -s 16 "URL") or IDM use 16 parallel connections, which typically give you full line speed on their CDN.',
|
||||
a: 'Absolutely — and we strongly recommend it. Microsoft throttles single-threaded browser downloads. Tools like aria2 (aria2c -x 16 -s 16 --disable-ipv6=true "URL") or IDM use 16 parallel connections, which typically give you full line speed on their CDN.',
|
||||
},
|
||||
{
|
||||
q: 'What\'s the difference between the various product IDs?',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue