Browse Source

Make serv/update use LOCAL_ROOT_URL instead public

The reasoning for that is in the previous commit.
pull/2137/head
Adam Strzelecki 9 years ago
parent
commit
e4a092fb5a
  1. 2
      cmd/serve.go

2
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)

Loading…
Cancel
Save