mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 16:10:28 +00:00
Enable PATCH method for CORS in API part
This commit is contained in:
parent
848c2e1b97
commit
41c9eecfa7
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ nelmio_cors:
|
|||
'^/api/':
|
||||
allow_origin: ['*']
|
||||
allow_headers: ['X-Custom-Auth']
|
||||
allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
|
||||
allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
|
||||
max_age: 3600
|
||||
'^/oauth/':
|
||||
allow_origin: ['*']
|
||||
|
|
Loading…
Reference in a new issue