Failure to move worker to a custom domain

I built a simple serverless api using workers in line with one of the oficially recomended tutorials. I works all well on domain however when I try to move it to my own domain everything breaks and stops working. Interesting part that I don’t get any error when moving to my own domain and that domain is show next to the test domain. What details would I need to provide for someone to help to resolve this issue?