cryptoadvance / specter-desktop

A desktop GUI for Bitcoin Core optimised to work with hardware wallets
MIT License
806 stars 238 forks source link

Hard coded http and port causing issues #2460

Open svrgnty opened 4 months ago

svrgnty commented 4 months ago

File: src/cryptoadvance/specter/templates/base.jinja - Line 16 <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>

I believe the hard coded http:// is causing issues (mixed content) and is blocked in https mode. It generates errors in the console and in certain setups creates a longer loading time. The fixed port may also be an issue.

specter-issue

This is from Specter 2.0.2^2 running on Start9 with firefox browser

xavierfiechter commented 3 months ago

There is no file named livereload.js it specter-desktop's repository.

I commented the line and everything works just fine.