- commit
- 9ed427a
- parent
- ab67bde
- author
- Antonio Mika
- date
- 2022-08-02 16:10:02 +0000 UTC
Fix custom domains
1 files changed,
+1,
-1
1@@ -106,7 +106,7 @@ func GetSubdomain(r *http.Request) string {
2 }
3
4 func GetCustomDomain(host string, space string) string {
5- records, err := net.LookupTXT(fmt.Sprintf("_%s.%s", host, space))
6+ records, err := net.LookupTXT(fmt.Sprintf("_%s.%s", space, host))
7 if err != nil {
8 return ""
9 }