WILDCARD REDIRECTS
I was trying to setup wildcard redirects for subdomain which has no dns records via cloudflare workers with the route
*is-a.software/*but is it also redirecting those domains which already has a record and are proxied i tried to write a logic via a api which returns list of all registered subdomains which is https://raw.is-a.software/domains.json
and the code looks like this
and the wrangle.toml
name = "unregistered"
main = "worker.js"
compatibility_date = "2025-11-02"
[assets]
directory = "public"
binding = "ASSETS"0 Replies