You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Emit a non-fatal warning when CORS is open to all origins.
108
+
# This is acceptable during development but should be restricted in production
109
+
# to the GitHub Pages URL (e.g., ["https://yourusername.github.io"]).
110
+
check"cors_not_wildcard" {
111
+
assert {
112
+
condition=!contains(var.allowed_origins, "*")
113
+
error_message="WARNING: allowed_origins contains '*' — CORS is open to every origin. Restrict to your frontend URL in production (e.g., [\"https://yourusername.github.io\"])."
0 commit comments