Copy your code to editor workers.dev/index.js or index.js
Only support for single domain
In this case, you will need change the code:
// workers.dev/index.js
// replace to your target site domain
const targetDomain = 'example.com';
Support for multiple domains