forked from MapComplete/MapComplete
Offline: remove CORS
This commit is contained in:
parent
caac9c4fc3
commit
200ea9fccf
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class ServerPmTileExtracts extends Script {
|
|||
if(req.destroyed){
|
||||
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)
|
||||
|
||||
return null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue