From e1fdbd9388c1bc376b5265a6fbc1662588b55310 Mon Sep 17 00:00:00 2001 From: Elijah Date: Sun, 24 May 2026 11:19:25 -0700 Subject: [PATCH] Fixed onlyoffice connection issues --- frontend/src/components/OnlyOfficeEditor.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/OnlyOfficeEditor.tsx b/frontend/src/components/OnlyOfficeEditor.tsx index 9f1605a..9907cbd 100644 --- a/frontend/src/components/OnlyOfficeEditor.tsx +++ b/frontend/src/components/OnlyOfficeEditor.tsx @@ -47,6 +47,8 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit const API_BASE = getApiBase(); + const docServerUrl = 'https://office.elijahkuntz.com/'; + // URL that OnlyOffice will use to download the file const fileUrl = `${API_BASE}/api/files/download/?path=${encodeURIComponent(file.path)}&token=${downloadToken}`; @@ -106,7 +108,7 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit ) : (