mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
mgr/dashboard: allow PUT in CORS
Fixes: https://tracker.ceph.com/issues/62222 Signed-off-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
parent
104bec4041
commit
8da2a2c0e2
@ -261,7 +261,7 @@ class CherryPyConfig(object):
|
||||
resp_head['Access-Control-Allow-Origin'] = req_header_origin_url
|
||||
ac_method = req_head.get('Access-Control-Request-Method', None)
|
||||
|
||||
allowed_methods = ['GET', 'POST']
|
||||
allowed_methods = ['GET', 'POST', 'PUT']
|
||||
allowed_headers = [
|
||||
'Content-Type',
|
||||
'Authorization',
|
||||
|
Loading…
Reference in New Issue
Block a user