Change API base URL to www.b0esche.cloud and revert host to www for public URLs

This commit is contained in:
Leon Bösche
2026-01-25 03:34:17 +01:00
parent d3c174f623
commit 93bc0e582a
2 changed files with 2 additions and 2 deletions

View File

@@ -2943,7 +2943,7 @@ func publicFileShareHandler(w http.ResponseWriter, r *http.Request, db *database
} else if r.TLS == nil {
scheme = "http"
}
host := r.Host
host := "www.b0esche.cloud"
downloadPath := fmt.Sprintf("%s://%s/public/share/%s/download?token=%s", scheme, host, token, url.QueryEscape(viewerToken))
viewPath := fmt.Sprintf("%s://%s/public/share/%s/view?token=%s", scheme, host, token, url.QueryEscape(viewerToken))