We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952678d commit 9b933aaCopy full SHA for 9b933aa
server/common.go
@@ -24,7 +24,7 @@ func SubdomainURL(c echo.Context, subdomain string) string {
24
}
25
locale := LocaleForRequest(c.Request())
26
host := strings.TrimPrefix(c.Request().Host, "www.")
27
- host = strings.TrimPrefix(c.Request().Host, locale.Subdomain+".")
+ host = strings.TrimPrefix(host, locale.Subdomain+".")
28
if subdomain != "" {
29
host = subdomain + "." + host
30
0 commit comments