[pluginsFunctionality | DONE | CHANGED] add required header

This commit is contained in:
argirok 2024-06-10 09:09:48 +03:00
parent 44e3e7f4bd
commit 8d54218dbb
1 changed files with 1 additions and 1 deletions

View File

@ -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 {