From 2c3399766743d2fef5f7e6ba0c02512985db5fc2 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 18 Mar 2019 15:17:41 +0800 Subject: [PATCH] =?UTF-8?q?gogs=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit post-receive很少修改。 commit 修改比较多 --- plugins/gogs/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gogs/index.py b/plugins/gogs/index.py index 740bbae7f..5a368dfdd 100755 --- a/plugins/gogs/index.py +++ b/plugins/gogs/index.py @@ -505,7 +505,7 @@ def projectScriptEdit(): user = args['user'] name = args['name'] + '.git' post_receive = getRootPath() + '/' + user + '/' + name + \ - '/custom_hooks/post-receive' + '/custom_hooks/commit' if os.path.exists(post_receive): return public.returnJson(True, 'OK', {'path': post_receive}) else: