diff --git a/frontend/src/components/OnlyOfficeEditor.tsx b/frontend/src/components/OnlyOfficeEditor.tsx index b71e3d0..810e956 100644 --- a/frontend/src/components/OnlyOfficeEditor.tsx +++ b/frontend/src/components/OnlyOfficeEditor.tsx @@ -47,7 +47,7 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit // Use the internal backend URL for OnlyOffice server-to-server communication // to avoid Hairpin NAT/DNS issues from inside the Docker network. - const INTERNAL_BACKEND_URL = 'http://192.168.50.81:5827'; + const INTERNAL_BACKEND_URL = 'http://192.168.50.57:5827'; // URL that OnlyOffice will use to download the file const fileUrl = `${INTERNAL_BACKEND_URL}/api/files/download/?path=${encodeURIComponent(file.path)}&token=${downloadToken}`;