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 broken images if octoprint is not at website's root #134

Merged
merged 10 commits into from
Apr 29, 2021

Conversation

Thelm76
Copy link
Contributor

@Thelm76 Thelm76 commented Apr 29, 2021

This is my first pull request, so I hope I'm not making too much mistakes. I figured that images URLs are not working if octoprint is situated at http(s):///octoprint/. By making the URL relative with "./plugin/..." (like in other plugins), images work again.

@Thelm76
Copy link
Contributor Author

Thelm76 commented Apr 29, 2021

The URL :
image

Before :
image
image

After (sorry for the theme) :
image
image

@cp2004
Copy link
Owner

cp2004 commented Apr 29, 2021

Thanks! I remember looking at this at some point but had completely forgotten, it will be part of the next release 🙂. Please note however, this release may not be for some time as I have a lot to do at the moment.

No problems I can see, thank you for the PR!

@cp2004 cp2004 merged commit 74ca74b into cp2004:devel Apr 29, 2021
@cp2004 cp2004 added this to the 0.8.0 milestone Apr 29, 2021
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