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

Config value listen.prefix does not work anymore since major refactor in version v0.117 #5623

Closed
amiga23 opened this issue Dec 6, 2023 · 1 comment · Fixed by #5624
Closed

Comments

@amiga23
Copy link

amiga23 commented Dec 6, 2023

In verison 0.116 it was enough to add "/" to the end of the URL.

e.g. no listen.prefix configured, reverseproxy forwards "https://.../mon/karma" -> "http://<karma-pod/service>/" (strip-prefix)
Working URL in browser was "https://.../mon/karma/"

Now this does not work anymore, because path to assets is not relative but absolute, now.
So assets are always tried to be loaded from /assets/...
Config value listen.prefix only works for the index.html but is ignored for assets.

Additionally setting custom.js or custom.css to any value leads to /assets/custom.css or /assets/custom.js respectively. So this can also not be used as workarround.

This is a major issue in nearly all web frameworks. As I do not understand the one used here, could you please verify if this is an issue in the way you use this framework, or if it is a bug or missing feature in the framework and open an issue there?

@amiga23
Copy link
Author

amiga23 commented Dec 8, 2023

Works fine for me, thank you

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant