Skip to content

Commit

Permalink
Support self-hosted GitLab CE/EE. Quck fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kuznetsov committed Jan 26, 2018
1 parent 470ab34 commit 656fb59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ func init() {
gitlab.New(
os.Getenv("GITLAB_KEY"), os.Getenv("GITLAB_SECRET"),
fmt.Sprintf("https://%s/callback/gitlab", host),
fmt.Sprintf("https://%s/oauth/authorize", os.Getenv("GITLAB_SERVER")),
fmt.Sprintf("https://%s/oauth/token", os.Getenv("GITLAB_SERVER")),
fmt.Sprintf("https://%s/api/v3/user", os.Getenv("GITLAB_SERVER")),
),
)
}
Expand Down

0 comments on commit 656fb59

Please sign in to comment.