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