mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Updated GitLab API endpoint to latest v4.
This commit is contained in:
parent
50e6b05703
commit
f249ddf56a
|
@ -438,7 +438,7 @@ gitpitch {
|
||||||
name = "GitLab"
|
name = "GitLab"
|
||||||
type = "gitlab"
|
type = "gitlab"
|
||||||
site = "https://gitlab.com/"
|
site = "https://gitlab.com/"
|
||||||
apibase = "https://gitlab.com/api/v3/"
|
apibase = "https://gitlab.com/api/v4/"
|
||||||
// apitoken = "your-gitlab-access-token-here"
|
// apitoken = "your-gitlab-access-token-here"
|
||||||
apitokenheader = "PRIVATE-TOKEN"
|
apitokenheader = "PRIVATE-TOKEN"
|
||||||
rawbase = "https://gitlab.com/"
|
rawbase = "https://gitlab.com/"
|
||||||
|
@ -480,7 +480,7 @@ gitpitch {
|
||||||
name = "GitBucket"
|
name = "GitBucket"
|
||||||
type = "gitbucket"
|
type = "gitbucket"
|
||||||
site = "http://localhost:8080/"
|
site = "http://localhost:8080/"
|
||||||
apibase = "http://localhost:8080/api/v3/"
|
apibase = "http://localhost:8080/api/v4/"
|
||||||
// apitoken = "token your-gitbucket-access-token-here"
|
// apitoken = "token your-gitbucket-access-token-here"
|
||||||
apitokenheader = "Authorization"
|
apitokenheader = "Authorization"
|
||||||
rawbase = "http://localhost:8080/"
|
rawbase = "http://localhost:8080/"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user