Not working Reverse Proxy with Webflow and Cloudflare

Hi,

I want to create a reverse proxy for my Webflow and vercel Project.

I have following domains:

  • trinker.dev (this should be the domain the user searchs for)
  • base.trinker.dev (this website should be shown, when somebody types in trinker.dev)
  • app.trinker.dev (this website should be shown, when somebody types in trinker.dev/app)

I did it like in the tutorial from finsweet (video & github tutorial) and it doesn´t work. When I type in trinker.dev, it shows the base.trinker.dev website, but when I open another page of the webflow I get a 404 error. When I type trinker.dev/app it doesn´t work.

Here the code I cloned (I changed the parameters to my domains, the rest is the same): GitHub - finsweet/reverse-proxy: Finsweet's reverse proxy using Cloudflare Workers

Does somebody know what I need to change?

Thanks :slight_smile: