Skip to content

Commit

Permalink
fix: allow CORS to others mapstyle resources too
Browse files Browse the repository at this point in the history
  • Loading branch information
JfrAziz committed Jun 9, 2024
1 parent ff40f10 commit 05cbdd9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
}

:8080 {
handle /tiles/planet* {
header {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods "GET"
defer
}
header {
Access-Control-Allow-Origin *
Access-Control-Allow-Methods "GET"
defer
}

handle /tiles/planet* {
pmtiles_proxy {
bucket {$BUCKET}

Expand Down

0 comments on commit 05cbdd9

Please sign in to comment.