Hey @uns123
That’s cool that the pages/
plug-in (almost) works with ShinyProxy
What happens if you change:
dash.register_page(name, path=os.environ[‘SHINYPROXY_PUBLIC_PATH’])
to
dash.register_page(name, path="/")
It would be helpful to see how the path
and the relative_path
are defined in the dash.page_registry
You could try out the new utility in dash labs to display the content of the dash.page_registry : print_registry()
Try adding print_registry()
to home.py
like this:
import dash
from dash import html
import os
from dash_labs import print_registry
dash.register_page(__name__, path=os.environ['SHINYPROXY_PUBLIC_PATH'])
print_registry(__name__, exclude="layout")
def layout():
# ...
return html.Div(html.H1(['Home Baby Home']))