From 8d54218dbbcbe6e193e512478e8d7644d20cc514 Mon Sep 17 00:00:00 2001 From: argirok Date: Mon, 10 Jun 2024 09:09:48 +0300 Subject: [PATCH] [pluginsFunctionality | DONE | CHANGED] add required header --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 85915cf..7087769 100644 --- a/server.ts +++ b/server.ts @@ -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 {