mckinsey / vizro

Vizro is a toolkit for creating modular data visualization applications.
https://vizro.readthedocs.io/en/stable/
Apache License 2.0
2.47k stars 111 forks source link

[Bug] Fix path to built-in Vizro assets #358

Closed antonymilne closed 4 months ago

antonymilne commented 4 months ago

Description

There was a subtle bug where we were using routes_pathname_prefix somewhere we should have used requests_pathname_prefix. What this meant was that in some deployments our built-in Vizro js and css would not be found.

Previously things worked ok when requests_pathname_prefix == routes_pathname_prefix but not otherwise. Now it works ok - tested on:

Notice