fix(traefik): update the root domain redirect rule

Update the replacement value for the root domain's redirect rule.
This commit is contained in:
Dan Anglin 2023-08-01 16:40:45 +01:00
parent 9e24f50653
commit 3076b82055
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 5 additions and 5 deletions

4
go.mod
View file

@ -1,5 +1,5 @@
module flow/services module flow/services
go 1.19 go 1.20
require github.com/magefile/mage v1.14.0 require github.com/magefile/mage v1.15.0

4
go.sum
View file

@ -1,2 +1,2 @@
github.com/magefile/mage v1.14.0 h1:6QDX3g6z1YvJ4olPhT1wksUcSa/V0a1B+pJb73fBjyo= github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=
github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=

View file

@ -14,5 +14,5 @@ http:
redirect-root-to-freeflow: redirect-root-to-freeflow:
redirectRegex: redirectRegex:
regex: "^(.*)" regex: "^(.*)"
replacement: "https://{{ .GoToSocial.Subdomain }}.{{ .RootDomain }}" replacement: "https://{{ .GoToSocial.Subdomain }}.{{ .RootDomain }}/@{{ .GoToSocial.LandingPageUser }}"
permanent: true permanent: true