Fixing Github API for GHE

This commit is contained in:
Don Olmstead 2015-08-11 15:52:09 -07:00 committed by Olmstead
parent d688121844
commit 4029c1093c

View file

@ -63,7 +63,7 @@ func NewDriver(config string) (remote.Remote, error) {
if github.URL == DefaultURL {
github.API = DefaultAPI
} else {
github.API = github.URL + "/v3/api/"
github.API = github.URL + "/api/v3/"
}
// here we cache permissions to avoid too many api