Add Access Header

This commit is contained in:
nicco 2017-12-28 17:40:21 +01:00
parent f823d36502
commit 555b9ef292

1
cache/cache.js vendored
View File

@ -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()