influxdata / chronograf

Open source monitoring and visualization UI for the TICK stack
https://www.influxdata.com/time-series-platform/chronograf/
Other
1.51k stars 258 forks source link

fix: repair UI served under BASEPATH #6001

Closed sranka closed 2 years ago

sranka commented 2 years ago

Fixes #6000

Briefly describe your proposed changes: This PR excludes JS files from preprocessing that is applied when chronograf UI is served under a specific subpath.

What was the problem? Chronograf 1.10 comes with a new build system that produces different JS files comparing to chronograf 1.9 . These JS files do not need any further changes even if chronograf is served under specific BASEPATH.

What was the solution? Exclude js files from BASEPATH handling.