@cryptotaxi247 / infra / commits / 7d35963b

terraform/cache.tf: add CORS to response instead of cached response (#200)

puckipedia committed Jan 31, 2022 at 15:36 UTC 7d35963bbf5c3d58b23206b9b6d0c77c749d5e63
1 file changed +1 -1
terraform/cache.tf
+1 -1
@@ -175,7 +175,7 @@ resource "fastly_service_v1" "cache" {
175 # Allow CORS GET requests.
176 header {
177 destination = "http.access-control-allow-origin"
178 - type = "cache"
178 + type = "response"
179 action = "set"
180 name = "CORS Allow"
181 source = "\"*\""