From 555b9ef292de09135c9e1d73c9b37dcbd6610bfb Mon Sep 17 00:00:00 2001 From: nicco Date: Thu, 28 Dec 2017 17:40:21 +0100 Subject: [PATCH] Add Access Header --- cache/cache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cache/cache.js b/cache/cache.js index 64495e6..4145f9b 100644 --- a/cache/cache.js +++ b/cache/cache.js @@ -84,6 +84,7 @@ const server = http.createServer(async(req, res) => { res.writeHead(200, { 'Content-Type': 'application/json', + 'Access-Control-Allow-Origin': '*' }) res.write(JSON.stringify(CACHE[zip] || {})) res.end()