Open uns1 opened 2 years ago
x-post on the Plotly forum
https://community.plotly.com/t/shinyproxy-dash-pages-plugin-not-redirecting-as-expected/64204
Hi
Thanks for opening this issue. I saw that you got some responses on the topic at the Plotly forum. Is this now working for you? If so, I'll try to update our example.
I am trying to create a multi-page app using a new feature introduced in Dash 2 called "Pages" and host it through ShinyProxy More info here on Dash's new Pages functionality
While most of it works as expected using the demo dash application on ShinyProxy plus the minimal examples provided by Dash, the only issue I'm having is when it comes to first page you see once the container is loaded (i.e. path '/' for the dash app or home.py below)
app.py
Meanwhile, the pages directory contains two pages:
home.py
vendor.py
The expectation above would be that when I open the app, the first thing I see would be in home.py as its path is positioned at "/ (or shiny proxy's public path)". However this is not the case, and instead I get a 404. However the 'vendor' path defined in vendor.py works as expected.
Screenshot of Home (problematic)
Screenshot of Vendor (works as expected)
Any ideas on why the opening page is not pointing towards home.py?