Fix internal backend IP
Some checks failed
Automated Container Build / build-and-push (push) Has been cancelled
Some checks failed
Automated Container Build / build-and-push (push) Has been cancelled
This commit is contained in:
parent
82a19442d7
commit
7de186ee05
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export default function OnlyOfficeEditor({ file, type, onClose }: OnlyOfficeEdit
|
||||||
|
|
||||||
// Use the internal backend URL for OnlyOffice server-to-server communication
|
// Use the internal backend URL for OnlyOffice server-to-server communication
|
||||||
// to avoid Hairpin NAT/DNS issues from inside the Docker network.
|
// 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
|
// URL that OnlyOffice will use to download the file
|
||||||
const fileUrl = `${INTERNAL_BACKEND_URL}/api/files/download/?path=${encodeURIComponent(file.path)}&token=${downloadToken}`;
|
const fileUrl = `${INTERNAL_BACKEND_URL}/api/files/download/?path=${encodeURIComponent(file.path)}&token=${downloadToken}`;
|
||||||
|
|
|
||||||
Reference in a new issue