mirror of
https://github.com/cupcakearmy/dvb.git
synced 2024-11-05 09:14:09 +01: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, {
|
||||
'Content-Type': 'application/json',
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
})
|
||||
res.write(JSON.stringify(CACHE[zip] || {}))
|
||||
res.end()
|
||||
|
Loading…
Reference in New Issue
Block a user