Current code for cloudlflare worker for same origin with GTM setup?

I’m working through one of my first setups, trying to configure for same origin domain. This video references code for the cloudflare worker that I need as one of the steps.

I can’t find the link to the code for the cloudflare worker. Any ideas?

Hi,
Please follow the link for step-by-step instructions on how to properly configure the same origin setup, as well as to find the script in question