Hello guys, I have an app deployed with Heroku with a custom domain name. I am using Cloudflare for an SSL certificate, and I have enabled a rule to proxy HTTP requests to HTTPS. However, it seems all my route paths to my backend are getting rewritten to /api/route instead of /route, which is causing 404 errors on all my requests. This isn’t an issue when I turn off the proxy. So my question is, are these path rewrites normal or expected behavior when proxying HTTP to HTTPS, and I should rewrite all my routes to include /api, or is there something wrong with my configuration?
Thank you in advance!