diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-09 21:44:02 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-09 23:11:07 +0100 |
commit | e4a092fb5a8875264c9e723f05b245da8164fb51 (patch) | |
tree | f646d88f1e368b77aaf530721e87fe1ee4aa3c91 /cmd | |
parent | b886fb4bf05ad4c6809ecf0e490dbab6dc87a694 (diff) | |
download | gitea-e4a092fb5a8875264c9e723f05b245da8164fb51.tar.gz gitea-e4a092fb5a8875264c9e723f05b245da8164fb51.zip |
Make serv/update use LOCAL_ROOT_URL instead public
The reasoning for that is in the previous commit.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index 2aebbd4a87..247dbb04d7 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) |