[pluginsFunctionality | DONE | CHANGED] add required header
This commit is contained in:
parent
44e3e7f4bd
commit
8d54218dbb
|
@ -132,7 +132,7 @@ export function app() {
|
|||
res.header('X-FRAME-OPTIONS', 'allow from ' +req.headers.referer);
|
||||
res.header('Access-Control-Allow-Origin',req.headers.origin);
|
||||
res.header('Access-Control-Allow-Methods', 'GET, HEAD, OPTIONS');
|
||||
res.header('Access-Control-Allow-Headers', 'Cache-control, Expires, Pragma');
|
||||
res.header('Access-Control-Allow-Headers', 'Cache-control, Expires, Content-Type, Pragma');
|
||||
res.header('Allow', 'GET, HEAD, OPTIONS');
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue