fix: improve h5 payment return flow

This commit is contained in:
wushumin
2026-06-04 16:12:59 +08:00
parent 13c21ac67f
commit 46dae160be
13 changed files with 328 additions and 8 deletions

15
scripts/git-hooks/post-rewrite Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
repo_root=$(git rev-parse --show-toplevel 2>/dev/null) || exit 0
git_dir=$(git rev-parse --git-dir 2>/dev/null) || exit 0
case "$git_dir" in
/*) ;;
*) git_dir="$repo_root/$git_dir" ;;
esac
(
cd "$repo_root" || exit 0
./scripts/gitnexus-refresh.sh
) >>"$git_dir/gitnexus-refresh.log" 2>&1 &
exit 0