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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-26 15:54:00 +0300
committerJulius Härtl <jus@bitgrid.net>2018-04-19 21:14:38 +0300
commit272b392cacdf34d2166105c91b0a06de3e51ed06 (patch)
tree6df721b89919f811ff60b225622a23211ef11aff /apps/theming/appinfo
parent0bae516c66efe9004d0a8ff504e0deb0069fc9d9 (diff)
Move to more generic image handling and add extra images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/appinfo')
-rw-r--r--apps/theming/appinfo/routes.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index a69ddc1a6c9..f3483dbf99b 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -39,8 +39,8 @@ return ['routes' => [
'verb' => 'POST'
],
[
- 'name' => 'Theming#updateLogo',
- 'url' => '/ajax/updateLogo',
+ 'name' => 'Theming#uploadImage',
+ 'url' => '/ajax/uploadImage',
'verb' => 'POST'
],
[
@@ -49,13 +49,8 @@ return ['routes' => [
'verb' => 'GET',
],
[
- 'name' => 'Theming#getLogo',
- 'url' => '/logo',
- 'verb' => 'GET',
- ],
- [
- 'name' => 'Theming#getLoginBackground',
- 'url' => '/loginbackground',
+ 'name' => 'Theming#getImage',
+ 'url' => '/image/{key}',
'verb' => 'GET',
],
[