From: paul Date: Mon, 28 Nov 2016 20:50:57 +0000 (+0000) Subject: use HTT_HOST in coop redirect X-Git-Url: http://git.plutz.net/?p=serve0;a=commitdiff_plain;h=ac2be5f4d78b67253b5b412b73f92d6a64405b32 use HTT_HOST in coop redirect svn path=/trunk/; revision=162 --- diff --git a/actions/watch.sh b/actions/watch.sh index 0005d5b..cfa5437 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -40,7 +40,7 @@ fi case "$_COOKIE[watch]" in raspi) rpiaddr="http://atoemchen.helmchyn.no-ip.biz/?action=watch&url=" - redirect "${rpiaddr}$(urlsafe "http://jupiter:8000/${videourl}")" + redirect "${rpiaddr}$(urlsafe "http://${HTTP_HOST}/${videourl}")" ;; 480p) [ $height -gt 480 ] && redirect "?action=transcode&i=${linkinfo}&t=480" \