My Shinyio app redirects from the url
https://playoffsimulator.shinyapps.io/NHL2020PlayoffSimulator/ to https://playoffsimulator.shinyapps.io/NHL2020PlayoffSimulator/_w_adb9cd50/#section-outcomes after ActionButton click where "outcomes" is a page in my flexdashboard. The problem is the "onclick="location.href='#section-outcomes'" - removing that fixes the problem, but also means that the Outcomes page must be navigated to manually after click, which isn't always intuitive to the user. It appears the "location.href='#section-outcomes'" is creating a different href for the app while hosted, despite working locally.
The faulty action button
actionButton("go", "Run", class = "btn btn-success", onclick="location.href='#section-outcomes';" ) })