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:
authorSergey Linnik <sergey.linnik@onlyoffice.com>2019-10-31 16:07:31 +0300
committerSergey Linnik <sergey.linnik@onlyoffice.com>2019-11-29 13:50:58 +0300
commit73f2012e7d26d3716daa6dec2e8bc0cbbe8a9416 (patch)
treea065d52085f8a560b4a3282442722e929b6b5b00 /appinfo
parent0ed99b0d8f64830fbb3308ae42965614245c4cb8 (diff)
federated key
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php3
-rw-r--r--appinfo/routes.php3
2 files changed, 5 insertions, 1 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index 850ca6e..4aac65e 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -137,7 +137,8 @@ class Application extends App {
$this->appConfig,
$this->crypt,
$c->query("IManager"),
- $c->query("Session")
+ $c->query("Session"),
+ $c->query("ClientService")
);
});
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 80f769c..5a8a894 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -43,5 +43,8 @@ return [
["name" => "settings#save_common", "url" => "/ajax/settings/common", "verb" => "PUT"],
["name" => "settings#save_watermark", "url" => "/ajax/settings/watermark", "verb" => "PUT"],
["name" => "settings#get_settings", "url" => "/ajax/settings", "verb" => "GET"],
+ ],
+ "ocs" => [
+ ["name" => "federation#key", "url" => "/api/v1/key", "verb" => "POST"]
]
]; \ No newline at end of file