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

Hard coded http and port causing issues #2460

Open
svrgnty opened this issue Jul 9, 2024 · 1 comment
Open

Hard coded http and port causing issues #2460

svrgnty opened this issue Jul 9, 2024 · 1 comment

Comments

@svrgnty
Copy link

svrgnty commented Jul 9, 2024

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
Copy link

xavierfiechter commented Aug 1, 2024

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

I commented the line and everything works just fine.

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

2 participants