From 7de186ee052c4b5fed37cc66459fa6f7ed2fba03 Mon Sep 17 00:00:00 2001 From: Elijah Date: Sun, 24 May 2026 12:07:24 -0700 Subject: [PATCH] Fix internal backend IP --- frontend/src/components/OnlyOfficeEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`;