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

Change Base Path of UI and Swagger UI #2

Open
HansG89 opened this issue Feb 8, 2022 · 0 comments
Open

Change Base Path of UI and Swagger UI #2

HansG89 opened this issue Feb 8, 2022 · 0 comments

Comments

@HansG89
Copy link

HansG89 commented Feb 8, 2022

When running a basyx application on another resource name then "/" it is not possible to open the /ui and /swagger pages because they are trying to load their static files from "/"

example

service inside kubernetes:
http://aas-registry-service.basys.svc.cluster.local:4999

service outside kubernetes:
http://localhost:8080/registry

behaviour

opening the UI under http://localhost:8080/registry/ui serves a site without all static files

image

image

expected behaviour

it should be possible to set a "base path" for the UI and Swagger UI to be able to relatively load static files

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

No branches or pull requests

1 participant