Use Worker in combination with Framer

Hey all,

I’m using Framer as a static website. But I want to host a NextJS App for a specific URL.
I currently host my NextJS on Vercel, and to test this I have created a Worker that rewrites the URL to the Vercel domain. The URL is: and this is all working fine.

The goal is that all my traffic goes to Framer. Which is currently happening because of the DNS.
But everything from /tools should proxy to

Even though I have created a Worker Page, that has the configuration when the route is “*” it should point to the Worker, it doesn’t work.

My website is

What am I doing wrong here?