diff --git a/go_cloud/api b/go_cloud/api index de1ecb7..c3d0ef5 100755 Binary files a/go_cloud/api and b/go_cloud/api differ diff --git a/go_cloud/internal/http/routes.go b/go_cloud/internal/http/routes.go index 804082f..c619fe4 100644 --- a/go_cloud/internal/http/routes.go +++ b/go_cloud/internal/http/routes.go @@ -3010,7 +3010,7 @@ func publicFileShareHandler(w http.ResponseWriter, r *http.Request, db *database viewerSession["viewUrl"] = viewPath } else if strings.Contains(mimeType, "document") || strings.Contains(mimeType, "word") || strings.Contains(mimeType, "spreadsheet") || strings.Contains(mimeType, "presentation") { // Use Collabora for document viewing - wopiSrc := fmt.Sprintf("%s://%s/public/wopi/share/%s", scheme, host, token) + wopiSrc := fmt.Sprintf("%s://go.b0esche.cloud/public/wopi/share/%s", scheme, token) collaboraUrl := fmt.Sprintf("https://of.b0esche.cloud/lool/dist/mobile/cool.html?WOPISrc=%s", url.QueryEscape(wopiSrc)) viewerSession["viewUrl"] = collaboraUrl }