Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: repair UI served under BASEPATH #6001

Merged
merged 2 commits into from
Sep 13, 2022
Merged

fix: repair UI served under BASEPATH #6001

merged 2 commits into from
Sep 13, 2022

Conversation

sranka
Copy link
Contributor

@sranka sranka commented Sep 12, 2022

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.

@sranka sranka added this to the 1.10.1 milestone Sep 12, 2022
@sranka sranka changed the title fix(ui): repair BASEPATH handling fix(ui): repair UI served under BASEPATH Sep 12, 2022
@sranka sranka changed the title fix(ui): repair UI served under BASEPATH fix: repair UI served under BASEPATH Sep 12, 2022
@sranka sranka marked this pull request as ready for review September 12, 2022 09:42
@sranka sranka merged commit 406065e into master Sep 13, 2022
@sranka sranka deleted the 6000/base_path_fix branch September 13, 2022 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BASE_PATH configuration is not working with Chronograf 1.10
2 participants