mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
Fix DRONE_HOST check
This commit is contained in:
parent
453f415cc4
commit
b339532e0c
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ func server(c *cli.Context) error {
|
|||
)
|
||||
}
|
||||
|
||||
if !strings.HasSuffix(c.String("server-host"), "/") {
|
||||
if strings.HasSuffix(c.String("server-host"), "/") {
|
||||
logrus.Fatalln(
|
||||
"DRONE_HOST must not have trailing slash",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue