Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/doskast/commit/172e2777cb6c927f70a127e0846c0d9afdb4195c?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

cgi: also fix permissions

master
Mikhail Novosyolov 3 years ago
parent 73672f541e
commit 172e2777cb
  1. 2
      doskast-trigger-connect.cgi

@ -9,7 +9,7 @@ set -u
_main_trigger_connect(){ _main_trigger_connect(){
local umask_old local umask_old
local tmp local tmp
tmp="$(umask 077 && mktemp --tmpdir="$dir" connect.XXXXX)" tmp="$(umask 0022 && mktemp --tmpdir="$dir" connect.XXXXX)"
test -f "$tmp" test -f "$tmp"
echo "$REMOTE_ADDR" > "$tmp" echo "$REMOTE_ADDR" > "$tmp"
} }

Loading…
Cancel
Save