Update CORS example to reduce some confusion

This commit is contained in:
Jeff Mitchell committed 2020-10-15 22:08:28 -04:00
1 parent 97e8613eb7
commit fc93632895
1 file changed
+4 -3
@@ -62,9 +62,10 @@ listener "tcp" {
tls_disable = false
# Enable CORS for the Admin UI
cors_enabled = true
cors_allowed_origins = ["yourcorp.yourdomain.com"]
# Uncomment to enable CORS for the Admin UI. Be sure to set the allowed origin(s)
# to appropriate values.
#cors_enabled = true
#cors_allowed_origins = ["yourcorp.yourdomain.com"]
}
# Data-plane listener configuration block (used for worker coordination)