From 8b81267b0c8086e568a4a9b93445243ac310d7a3 Mon Sep 17 00:00:00 2001 From: Alexander Ryzhikov Date: Sun, 21 Feb 2021 21:24:08 +0200 Subject: [PATCH] Add Access-Control-Allow-Headers * (#231) --- plugin/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/web.py b/plugin/web.py index fb7e496..4e435e8 100644 --- a/plugin/web.py +++ b/plugin/web.py @@ -184,6 +184,7 @@ class WebServer: ['HTTP/1.1 200 OK', None], ['Content-Type', 'text/json'], ['Access-Control-Allow-Origin', corsOrigin], + ['Access-Control-Allow-Headers', '*'], ['Content-Length', str(len(body))] ]