79322786

Date: 2025-01-02 04:50:47
Score: 0.5
Natty:
Report link

To achieve this, you can set up a reverse proxy to forward requests from example.com/blog to blog.netlify.app while keeping the URL unchanged in the browser's address bar. Here's how:

  1. Create a Worker in Cloudflare and configure it to forward requests to your blog.netlify.app.
  2. Set up a route in Cloudflare to direct traffic from example.com/blog to this Worker.
  3. Ensure your absolute paths in SolidJS are configured correctly in tsconfig.json so that asset paths resolve properly when served from Netlify.

This setup ensures seamless proxying, and SolidJS's absolute paths should work as long as Netlify serves them correctly. I implemented a similar setup on my website, and you can check it out for more details. https://sonic-happy-hour.us/

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Junaid