X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=76061f328fbd3a2844eaf04bd31e76464399bc40;hp=ed8fbbe351753f59df8172c28b97b90a0b98d271;hb=a383964c9582614fd56a45113cfa3685e92700fa;hpb=e0e4a844f76311f4bfed542d34459dcfc68f9ddf diff --git a/config.def.h b/config.def.h index ed8fbbe..76061f3 100644 --- a/config.def.h +++ b/config.def.h @@ -32,7 +32,7 @@ static Bool hidebackground = FALSE; /* DOWNLOAD(URI, referer) */ #define DOWNLOAD(d, r) { \ .v = (char *[]){ "/bin/sh", "-c", \ - "st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \ + "st -e /bin/sh -c \"curl -L -J -O --user-agent '$1'" \ " --referer '$2' -b $3 -c $3 '$0';" \ " sleep 5;\"", \ d, useragent, r, cookiefile, NULL \