mirror of
https://github.com/cupcakearmy/dvb.git
synced 2024-12-22 16:16:26 +00:00
Add Access Header
This commit is contained in:
parent
f823d36502
commit
555b9ef292
1
cache/cache.js
vendored
1
cache/cache.js
vendored
@ -84,6 +84,7 @@ const server = http.createServer(async(req, res) => {
|
|||||||
|
|
||||||
res.writeHead(200, {
|
res.writeHead(200, {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
'Access-Control-Allow-Origin': '*'
|
||||||
})
|
})
|
||||||
res.write(JSON.stringify(CACHE[zip] || {}))
|
res.write(JSON.stringify(CACHE[zip] || {}))
|
||||||
res.end()
|
res.end()
|
||||||
|
Loading…
Reference in New Issue
Block a user