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

added publicPath to Vue config that sets all public assets to be relative #14

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

bloqhead
Copy link
Contributor

This addresses a use case where a user proxies the GUI to a folder, e.g. something like /kuma-cp/, inside of a Kubernetes container. By default, Vue's asset path is absolute, which makes all assets 404 in this context. This would resolve that.

@bloqhead bloqhead requested review from subnetmarco and a team March 24, 2020 18:08
@bloqhead bloqhead self-assigned this Mar 24, 2020
@subnetmarco
Copy link
Contributor

To replicate this issue we put Kuma in front of a Kong Ingress on AKS (Azure) by exposing only the GUI port (not the API port). When connecting to the GUI, the GUI was not able to fetch the static assets.

@subnetmarco subnetmarco merged commit 5150fcf into master Mar 31, 2020
@subnetmarco subnetmarco deleted the fix/relative-asset-path branch March 31, 2020 05:52
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.

2 participants