aboutsummaryrefslogtreecommitdiffstats
path: root/names
diff options
context:
space:
mode:
Diffstat (limited to 'names')
-rw-r--r--names/server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/names/server.js b/names/server.js
index bd693b2..8f1971a 100644
--- a/names/server.js
+++ b/names/server.js
@@ -247,7 +247,7 @@ const json = (body, status = 200) => new Response(JSON.stringify(body), {
headers: {
'content-type': 'application/json',
'access-control-allow-origin': '*',
- 'access-control-allow-headers': 'content-type',
+ 'access-control-allow-headers': 'content-type,authorization',
'access-control-allow-methods': 'GET,POST,DELETE,OPTIONS',
},
});