mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-08-04 07:07:16 +00:00
Added PUT and DELETE method to Access-Control-Allow-Methods field
This commit is contained in:
parent
34374cbe09
commit
b66fd9d3ae
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ export default (req, res, next) => {
|
|||
res.set({
|
||||
"Access-Control-Allow-Origin": req.headers.origin,
|
||||
"Access-Control-Allow-Credentials": true,
|
||||
"Access-Control-Allow-Methods": "OPTIONS, GET, POST",
|
||||
"Access-Control-Allow-Methods": "OPTIONS, GET, POST, PUT, DELETE",
|
||||
"Access-Control-Allow-Headers":
|
||||
"Content-Type, Cache-Control, Pragma, Expires, Authorization, X-Dataset-Total, X-Dataset-Offset, X-Dataset-Limit",
|
||||
"Access-Control-Max-Age": 5 * 60,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue