integrations: Change default ZULIP_SITE to https://zulip.example.com.

Modified:
    asana
    basecamp
    codebase
    git
    jira
    svn
    trac
This commit is contained in:
Tomasz Kolek 2016-11-04 20:16:57 +01:00 committed by Tim Abbott
parent 3e877e069f
commit f380127f1e
7 changed files with 9 additions and 9 deletions

View file

@ -31,8 +31,8 @@ class ZulipListener extends AbstractIssueEventListener {
// The base JIRA url for browsing
String issueBaseUrl = "https://jira.COMPANY.com/browse/"
// Your zulip domain, only change if you have a custom one
String base_url = "https://api.zulip.com"
// Your zulip domain
String base_url = "https://zulip.example.com/"
@Override
void workflowEvent(IssueEvent event) {
@ -144,6 +144,6 @@ class ZulipListener extends AbstractIssueEventListener {
}
String zulipUrl(method) {
return base_url + "/v1/" + method
return base_url.replaceAll("/+$", "") + "/api/v1/" + method
}
}