Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/documentservice.php')
-rw-r--r--lib/documentservice.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/documentservice.php b/lib/documentservice.php
index 85437e8..fe54c8f 100644
--- a/lib/documentservice.php
+++ b/lib/documentservice.php
@@ -364,6 +364,10 @@ class DocumentService {
$opts["timeout"] = 60;
}
+ $opts['nextcloud'] = [
+ 'allow_local_address' => true,
+ ];
+
if ($method === "post") {
$response = $client->post($url, $opts);
} else {