About a Unexpected Syntax Error

Can anyone help me. I am begginer in blogging and I don’t have any coding knowledge. I want to create web stories when my blog is approved from there. They said you have to integrate your blog to self hosting in subfolder in Cloudflare. I create my account and add my website in Cloudflare. They tell me to go to the workers option and create the service and than add your 2 routes thereafter click on the quick Edit option remove all the script code and put the new code given by them and click on save and deploy. When i do all steps correctly their is a error showing:- uncaught syntax error : unexpected identifier ‘event’ at worker

What is the code that they asked you to use?

This post was flagged by the community and is temporarily hidden.