kit
kit copied to clipboard
Prerender based on different domains
Describe the problem
We're running a webapp that shows different content based on the browser/request domain. How can we use prerendering in this case? I don't see an option to tell the prerenderer entry routes which domains I want to have prerendered, just paths... And globally I can only set one base origin.
Example: domainAAA.com/home renders something completely different than domainBBB.com/home. So am not talking about dynamic routes.
Describe the proposed solution
Instead of only passing prerender routes, I'd also like to add the host header / domain / origin
Importance
i cannot use svelte (prerendering) without it