mirror of
https://github.com/cupcakearmy/dvb.git
synced 2025-09-05 21:20:38 +00:00
Add Access Header
This commit is contained in:
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()
|
||||
|
Reference in New Issue
Block a user