mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-20 13:16:18 +00:00
parent
fbdfa14a00
commit
6abc112262
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ type Opts struct {
|
||||||
// New returns a Forge implementation that integrates with Gitea,
|
// New returns a Forge implementation that integrates with Gitea,
|
||||||
// an open source Git service written in Go. See https://gitea.io/
|
// an open source Git service written in Go. See https://gitea.io/
|
||||||
func New(opts Opts) (forge.Forge, error) {
|
func New(opts Opts) (forge.Forge, error) {
|
||||||
if opts.OAuth2URL != "" {
|
if opts.OAuth2URL == "" {
|
||||||
opts.OAuth2URL = opts.URL
|
opts.OAuth2URL = opts.URL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue