From: paul Date: Wed, 2 Mar 2016 16:23:23 +0000 (+0000) Subject: include anchor in redirection after starting server display X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=c99ab651783572b0a4e6dc76e93f60418cdf683b;p=serve0 include anchor in redirection after starting server display svn path=/trunk/; revision=106 --- diff --git a/actions/watch.sh b/actions/watch.sh index b0a5920..b79de87 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -56,7 +56,7 @@ case "${_COOKIE[watch]}" in elif [ -n "$location" ]; then DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1006 nohup /usr/bin/mplayer -ao pulse --quiet "${treeroot%/}/${location#/}" >/dev/null 2>/dev/null & fi - redirect "$HTTP_REFERER" + redirect "$HTTP_REFERER#$linkinfo" ;; *) redirect "?p=view&${watch_link}" ;;