mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 08:23:48 +02:00
Merge pull request #2288 from jesselang/feature/drone-host-must-include-scheme
Fix DRONE_HOST check
This commit is contained in:
commit
9293d1b74d
@ -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 New Issue
Block a user