I’m wondering if it’s possible to deploy multiple apps to a single domain but to different paths on that domain.
An example:
Marketing app in Next.js → http://example.com/
Blog in Gatsby → http://example.com/blog/
App in Redwood → http://example.com/app/
Context:
I’ve been using Netlify and can setup the redirects using _redirect
on the root site like this:
/app/* http://example-redwood-app.com/:splat 200
.
The redirect works but the RedwoodJS app doesn’t work as expected because it attempts to load the resources (JS, CSS, images, etc.) from http://example.com/
instead of http://example-redwood-app.com/
.
Question:
Can a public URL be set in RedwwodJS so that it uses absolute imports instead of relative imports?