@gerrit - I just ran your example:
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as go
import csv
from datetime import datetime as dt
app = dash.Dash(__name__)
app.config.update({
#'url_base_pathname': '/showtemperature1/',
# as the proxy server will remove the prefix
'routes_pathname_prefix': '/showtemperature2/',
# the front-end will prefix this string to the requests
# that are made to the proxy server
'requests_pathname_prefix': '/pompidom3/'
})
server = app.server
app.layout = html.Div([])
if __name__ == '__main__':
app.run_server(debug=True)
Visiting http://localhost:8050 results in:
(vv) ~/Repos/dash-stuff/dash-sandbox (master)
♡♡ python dash-routes-config.py
* Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-080-314
127.0.0.1 - - [12/Sep/2017 17:06:40] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [12/Sep/2017 17:06:41] "GET /pompidom3/_dash-layout HTTP/1.1" 200 -
127.0.0.1 - - [12/Sep/2017 17:06:41] "GET /pompidom3/_dash-dependencies HTTP/1.1" 200 -
With:
$ pip freeze | grep dash
dash==0.18.3
dash-core-components==0.12.5
dash-html-components==0.7.0
dash-renderer==0.9.0
dash-table-experiments==0.5.0