mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-24 22:29:11 +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(
|
||||
"DRONE_HOST must not have trailing slash",
|
||||
)
|
||||
|
Reference in New Issue
Block a user