Closed b-ryan closed 2 years ago
I got this project running locally to test and this change is working as expected.
@b-ryan good catch and thanks for submitting a PR! Would you be able to just confirm my amendments still resolve your issue? If so this is good to merge!
What you said makes sense, glad you caught that. This does indeed still resolve my issue, thanks!
Awesome, thanks @b-ryan!
Previously, the code used http://${window.location.hostname} to build the base URL for checking the status of an app. Now it uses ${window.location.origin}.
In my case, I have set up nginx as a reverse proxy in order to use TLS encryption for my node. I am accessing Umbrel via https:// now. As a result, the functionality to check the status of services was not working due to the browser blocking mixed content requests.
I have not actually tested this code, as I don't have a development environment set up for Umbrel. I'm hoping someone else can test or this is straightforward enough to include.