diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2021-11-22 20:45:27 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-01-03 12:27:36 +0300 |
commit | 2f6a92b502153d32f71ffec47c3e287283d479f0 (patch) | |
tree | 6af93390d2231025a87f057a7763967790073559 /appinfo | |
parent | 65c69ffa91a7b8d777370dc3ff2b1d745d63c0a1 (diff) |
use attachment folder when inserting image from Files
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 1519b9c8e..471076d05 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -27,6 +27,7 @@ namespace OCA\Text\AppInfo; return [ 'routes' => [ + ['name' => 'Image#insertImageFile', 'url' => '/image/filepath', 'verb' => 'POST'], ['name' => 'Image#insertImageLink', 'url' => '/image/link', 'verb' => 'POST'], ['name' => 'Image#uploadImage', 'url' => '/image/upload', 'verb' => 'POST'], ['name' => 'Image#getImage', 'url' => '/image', 'verb' => 'GET'], |