Skip to content

Commit

Permalink
Do not override existing baseUrl path
Browse files Browse the repository at this point in the history
GitHub Enterprise API is usually under `https://.../api/v3`. The request shouldn't override the `/api/v3` path.
  • Loading branch information
gallardo committed Feb 17, 2016
1 parent 413eef1 commit 0a10996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/co/riiid/gradle/ReleaseTask.groovy
Expand Up @@ -32,7 +32,7 @@ class ReleaseTask extends DefaultTask {
]

http.request(Method.POST) {
uri.path = path
uri.path += path
requestContentType = ContentType.JSON
body = postBody

Expand Down

0 comments on commit 0a10996

Please sign in to comment.