Thanks @Walshy- after i deploy the worker, how would i trigger it for all vanity domains honstnames only?
The image p asted shows the Routes but im unsure what to put there ,so that it doesn't trigger on every request, but rather only vanity domains (i.e. where hostname !== 'my-domain.com' OR as your script above shows I need to run it on every single request? and do that check in the worker? (Seems like a extra hop now my domain needs to take)
Also if i enter *, it will trigger on all static asset requests as well (which is not necessary) --
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
CD
Cloudflare Developers
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news