mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-25 17:06:51 +00:00
Fix DRONE_HOST check
This commit is contained in:
@@ -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(
|
logrus.Fatalln(
|
||||||
"DRONE_HOST must not have trailing slash",
|
"DRONE_HOST must not have trailing slash",
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user