How do I do conditional values in Cloudflare expressions? I'm not sure if this is correct. This is something that I will be adding on a Redirect Rule as a dynamic redirect.
concat("https://www.site.com/", (ip.src.country not in {"SG", "AU", "UK"} ? "UK" : ip.src.country), "/some-page/")
concat("https://www.site.com/", (ip.src.country not in {"SG", "AU", "UK"} ? "UK" : ip.src.country), "/some-page/")
0 Replies
No replies yetBe the first to reply to this messageJoin