diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-10-05 17:56:28 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-10-05 22:20:00 +0200 |
commit | 5e2a547cb594b31ecb0f089b08db2e15c6dc381a (patch) | |
tree | b3b529ca40bc6ac2335c2c2bde782e1c964b8d63 /config | |
parent | ee090c0940cdbf636e3a55a40b41612d92b9c62d (diff) | |
download | hugo-5e2a547cb594b31ecb0f089b08db2e15c6dc381a.tar.gz hugo-5e2a547cb594b31ecb0f089b08db2e15c6dc381a.zip |
Add force flag to server redirects config
Fixes #7778
Diffstat (limited to 'config')
-rw-r--r-- | config/commonConfig.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go index ac82dc3bc..522ced854 100644 --- a/config/commonConfig.go +++ b/config/commonConfig.go @@ -184,6 +184,7 @@ type Redirect struct { From string To string Status int + Force bool } func (r Redirect) IsZero() bool { |