Add force flag to server redirects config

Fixes #7778
This commit is contained in:
Bjørn Erik Pedersen 2020-10-05 17:56:28 +02:00
parent ee090c0940
commit 5e2a547cb5
3 changed files with 30 additions and 11 deletions

View file

@ -184,6 +184,7 @@ type Redirect struct {
From string
To string
Status int
Force bool
}
func (r Redirect) IsZero() bool {