AMP Optimizer rewrites some URLs

I tried the Cloudflare AMP Optimizer today, and so far everything worked perfectly.

Until I noticed that some URLs were rewritten to the workers URL.

For example:

https://psycatgames.com/app/sudoku/ got rewritten into https://pcg.workers.dev/app/sudoku/

or https://trivia.psycatgames.com/ into https://trivia.pcg.workers.dev/

This is my route setup: https://psycatgames.com/*

and the config:

"proxy": {
    "origin": "psycatgames.com",
    "worker": "pcg.workers.dev"
  }

Anyone any idea or a direction where I should look?

Edit:
Just to clarify, if I access the URL directly, it works, but for example on an article page, the URL gets rewritten.

Out of curiosity, are you actually using that .workers.dev subdomain for anything? Maybe turning off that deployment (the .workers.dev route) will help.

I’ve actually turned it off already. I pretty much tried toggling on and off every setting…

I’m wondering if this URL rewrite originates from the AMP optimizer script or the CF worker.