Skip to content

Commit

Permalink
support https for static cors allowed origins
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed May 31, 2023
1 parent b22f517 commit ee7954a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ locals {
? var.static_cors_allowed_origins
: [
var.site_domain_name,
"*.${var.site_domain_name}"
"*.${var.site_domain_name}",
"https://${var.site_domain_name}",
"https://*.${var.site_domain_name}",
"https://static.${var.site_domain_name}",
]
)

Expand Down

0 comments on commit ee7954a

Please sign in to comment.