From e4a092fb5a8875264c9e723f05b245da8164fb51 Mon Sep 17 00:00:00 2001 From: Adam Strzelecki Date: Wed, 9 Dec 2015 21:44:02 +0100 Subject: [PATCH] Make serv/update use LOCAL_ROOT_URL instead public The reasoning for that is in the previous commit. --- cmd/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/serve.go b/cmd/serve.go index 2aebbd4a8728..247dbb04d776 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -109,7 +109,7 @@ func handleUpdateTask(uuid string, user *models.User, username, reponame string, } // Ask for running deliver hook and test pull request tasks. - reqURL := setting.AppUrl + username + "/" + reponame + "/tasks/trigger?branch=" + + reqURL := setting.LocalUrl + username + "/" + reponame + "/tasks/trigger?branch=" + strings.TrimPrefix(task.RefName, "refs/heads/") log.GitLogger.Trace("Trigger task: %s", reqURL)