diff --git a/web/view/views.py b/web/view/views.py index 44c8f01..55d8924 100644 --- a/web/view/views.py +++ b/web/view/views.py @@ -39,9 +39,10 @@ CONFIG = Config() def add_header(el): - return dbc.Row([dbc.Col(dcc.Link(html.H1('My car info'), href="/", style={"text-decoration": "none"})), + return dbc.Row([dbc.Col(dcc.Link(html.H1('My car info'), href=dash_app.requests_pathname_external_prefix, + style={"text-decoration": "none"})), dbc.Col(dcc.Link(html.Img(src="assets/images/settings.svg", width="30veh"), - href="/config", + href=dash_app.requests_pathname_external_prefix+"config", className="float-end"))]), el