mirror of
https://github.com/nextcloud/passman.git
synced 2025-12-18 06:02:15 +08:00
Add preflighted cors, opening the way for extensions.
Signed-off-by: brantje <brantje@gmail.com>
This commit is contained in:
parent
97d0fb2aae
commit
f4dd8bf1f1
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,9 @@ return [
|
|||
//Translations
|
||||
['name' => 'translation#getLanguageStrings', 'url' => '/api/v2/language', 'verb' => 'GET'],
|
||||
|
||||
//
|
||||
['name' => 'vault#preflighted_cors', 'url' => '/api/v2/{path}', 'verb' => 'OPTIONS', 'requirements' => array('path' => '.+')],
|
||||
|
||||
//Internal API
|
||||
['name' => 'internal#remind', 'url' => '/api/internal/notifications/remind/{credential_id}', 'verb' => 'POST'],
|
||||
['name' => 'internal#read', 'url' => '/api/internal/notifications/read/{credential_id}', 'verb' => 'DELETE'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue