Offline: remove CORS

This commit is contained in:
Pieter Vander Vennet 2025-09-26 14:25:11 +02:00
parent caac9c4fc3
commit 200ea9fccf

View file

@ -65,7 +65,7 @@ class ServerPmTileExtracts extends Script {
if(req.destroyed){ if(req.destroyed){
return null return null
} }
res.writeHead(200, { "Content-Type": "application/octet-stream" , "Access-Control-Allow-Origin": "*"}) res.writeHead(200, { "Content-Type": "application/octet-stream"})
Server.sendFile(targetFile, res) Server.sendFile(targetFile, res)
return null return null