diff --git a/README.md b/README.md index 3985367..dc2eed5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ If there is a strong business case for any development of this app, we will cons ## Development -Set `allow_local_remote_servers` to `true` (boolean) in your config.php. The Paperless server will run on `http://localhost:8000` with username `admin` and password `admin`: ```bash docker compose up diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php index ba6b99b..c7dc92d 100644 --- a/lib/Service/ApiService.php +++ b/lib/Service/ApiService.php @@ -68,6 +68,9 @@ public function sendFile(int $fileId): void { 'contents' => $file->getName(), ], ], + 'nextcloud' => [ + 'allow_local_address' => true, + ], ], ); }