From ac2be5f4d78b67253b5b412b73f92d6a64405b32 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 28 Nov 2016 20:50:57 +0000 Subject: [PATCH] use HTT_HOST in coop redirect svn path=/trunk/; revision=162 --- actions/watch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- 2.39.2