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: got rewritten into

or into

This is my route setup:*

and the config:

"proxy": {
    "origin": "",
    "worker": ""

Anyone any idea or a direction where I should look?

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 subdomain for anything? Maybe turning off that deployment (the 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.