I would like to set up a redirection from Frontity domain to WP domain (with the Embedded Mode plugin installed). But I’m not sure how to achieve this efficiently, while still allowing WP to make successful requests to the Frontity / Node server. A couple of options I had in mind:
using state.source.redirections = "all" on Frontity and have WordPress check for certain request header args (I see that we can filter the args sent by WP Embedded Mode plugin using the frontity_embedded_request_args filter).
using some sort of redirection provided by the host and check for certain args as well (e.g. Vercel using the has property on its redirection)
I don’t think we can check the request from Frontity itself, but with Server Extensibility this might be an option.