I have a small app that runs on a custom domain. At some point, I will want that small app to call a bigger app (potentially one of a number of bigger apps) and pass control over to that app completely, but I want the custom domain to stay the same (so I can’t just launch a new app in the tab, I don’t think).
The bigger app is self contained and doesn’t need anything from the smaller app apart from some data that can be passed through a shared data table, and of course to keep the original custom domain.
The bigger apps are developed quite separately and are capable of being run on their own, without being launched in this way.
OK, if I hit the big app’s endpoint from a browser, it redirects me to the big app proper, but if I send the request from the small app, I just get the big app returned (I can print it with response.get_bytes())
How do I get the small anvil app to actually “run” big app? (“run” in quotes because I’m just testing just with the wikipedia page as in the example at the moment, so as not to have to many variables).
EDIT - I can obviously set the window in JS to the new location, but that won’t help - the URL will change and I need it to stay as small-app’s url.
Can’t get my head around this - gonna try the iframe idea.