From 09aba6f33882c9dd8ffcd83cd2132d0ffa874e2d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 17 Jul 2025 18:16:55 -0500 Subject: [PATCH] fix: add npm-* headers to CORS --- terraform/https.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/https.tf b/terraform/https.tf index 5f766b02..12ab7360 100644 --- a/terraform/https.tf +++ b/terraform/https.tf @@ -98,7 +98,7 @@ resource "google_compute_url_map" "frontend_https" { allow_credentials = false expose_headers = ["*"] allow_origins = ["*"] - allow_headers = ["Authorization", "X-Cloud-Trace-Context"] + allow_headers = ["Authorization", "X-Cloud-Trace-Context", "npm-command", "npm-scope", "npm-session", "user-agent"] max_age = 3600 } }