Deploying CloudFlare Page to subdirectory - big issues

For Workers & Pages, what is the name of the domain?

syntix.pro

What is the issue or error you’re encountering

When I click on the “Go to app” button, which leads to Syntix, I am instead taken to https://syntix.pro/app.html, which doesn’t work. This does NOT happen if the domain is https www syntix pro. The way I perform the routing behind the scenes is with a reverse proxy, running on a Cloudflare Worker on the route: syntix.pro/app. In order to get the page running, I had to do some modifications to the Vite config and Vue Router config of the /app Page. Here is the source code of the reverse proxy, the Vite config, and the Vue Router config in one pastebin: Syntix.pro info - Pastebin.com

What are the steps to reproduce the issue?

Go to https://syntix.pro and click on the “Go to app” button

Screenshot of the error

Also, a user says that even directly visiting https://syntix.pro/app, he gets a blank page. I can’t reproduce it at the moment, but it’s happened in the past.

The reverse proxy Worker is running on the *syntix.pro/app* route.

Any help?

I get a blank page in Safari and Chrome on Mac, both give the same errors in the console…
Screenshot 2025-03-26 at 07.19.55

I changed it, so that the app Page is deployed to the app.syntix.pro subdomain instead of the /app subdirectory, and it all works fine now.

By the way, first-time posting on this forum was very painful. The “limit to 4 links” policy is absurd - very few spammers will ever be blocked by it, it just makes things very difficult for developers seeking help.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.