There are two issues that prevent the usage of the shiny app outside of an iframe:
- The url is generated dynamically, it cannot be determined beforehand
I believe some modifications could allow usage of the app without iframe. Possibly via the addition of some RESTful calls to allocate/release apps.
Alternatively, there is an (experimental) workaround you could try:
1. Retrieve the html from the url /app/yourappname and parse the generated iframe url from it
2. Set heartbeat-timeout very high in application.yml, because the heartbeat script won't be running