From d59a655f0ff04f022fd86c4d8a1ee47299cce29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Mon, 12 Jan 2026 17:11:50 +0100 Subject: [PATCH] Fix Collabora path from /loleaflet to /lool (correct endpoint) --- go_cloud/internal/http/wopi_handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go_cloud/internal/http/wopi_handlers.go b/go_cloud/internal/http/wopi_handlers.go index aafb1c9..2b9c251 100644 --- a/go_cloud/internal/http/wopi_handlers.go +++ b/go_cloud/internal/http/wopi_handlers.go @@ -665,7 +665,8 @@ func collaboraProxyHandler(w http.ResponseWriter, r *http.Request, db *database. wopiSrc := fmt.Sprintf("https://go.b0esche.cloud/wopi/files/%s?access_token=%s", fileID, accessToken) // Build Collabora editor URL with WOPISrc in query string - editorURL := fmt.Sprintf("%s/loleaflet/dist/loleaflet.html?WOPISrc=%s&closebutton=1", collaboraURL, url.QueryEscape(wopiSrc)) + // Try /lool/dist/loleaflet.html (standard Collabora path) + editorURL := fmt.Sprintf("%s/lool/dist/loleaflet.html?WOPISrc=%s&closebutton=1", collaboraURL, url.QueryEscape(wopiSrc)) // Return HTML page that loads Collabora in an iframe htmlContent := fmt.Sprintf(`