From 7ed915555b491302c5bed417c883153872100675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sun, 25 Jan 2026 00:20:32 +0100 Subject: [PATCH] Update file share link host to use 'www' for consistency --- go_cloud/internal/http/routes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go_cloud/internal/http/routes.go b/go_cloud/internal/http/routes.go index b815b7e..7ac603e 100644 --- a/go_cloud/internal/http/routes.go +++ b/go_cloud/internal/http/routes.go @@ -2766,7 +2766,7 @@ func getFileShareLinkHandler(w http.ResponseWriter, r *http.Request, db *databas } host := r.Host if host == "" { - host = "go.b0esche.cloud" + host = "www.b0esche.cloud" } fullURL := fmt.Sprintf("%s://%s/share/%s", scheme, host, link.Token) @@ -2834,7 +2834,7 @@ func createFileShareLinkHandler(w http.ResponseWriter, r *http.Request, db *data } host := r.Host if host == "" { - host = "go.b0esche.cloud" + host = "www.b0esche.cloud" } fullURL := fmt.Sprintf("%s://%s/share/%s", scheme, host, link.Token) @@ -3103,7 +3103,7 @@ func getUserFileShareLinkHandler(w http.ResponseWriter, r *http.Request, db *dat } host := r.Host if host == "" { - host = "go.b0esche.cloud" + host = "www.b0esche.cloud" } fullURL := fmt.Sprintf("%s://%s/share/%s", scheme, host, link.Token) @@ -3168,7 +3168,7 @@ func createUserFileShareLinkHandler(w http.ResponseWriter, r *http.Request, db * } host := r.Host if host == "" { - host = "go.b0esche.cloud" + host = "www.b0esche.cloud" } fullURL := fmt.Sprintf("%s://%s/share/%s", scheme, host, link.Token)