diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py index e50bb2adb5f..efef273bda0 100644 --- a/src/pybind/mgr/dashboard/module.py +++ b/src/pybind/mgr/dashboard/module.py @@ -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',