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 same site urls #88

Merged
merged 3 commits into from
Sep 5, 2019
Merged

Fix same site urls #88

merged 3 commits into from
Sep 5, 2019

Conversation

apla
Copy link
Contributor

@apla apla commented Sep 5, 2019

I'm using locally downloaded livereload.js because sometimes I don't have internet access and 3.0.1 broke local urls. I'm getting message:

LiveReload disabled because it could not find its own <SCRIPT> tag

In 3.0.1 src attribute used to find script location, but we need to parse src attribute to find out explicitly written port 80 and src element property to work with same-site urls.

@smhg smhg merged commit 17756ac into livereload:master Sep 5, 2019
@smhg
Copy link
Contributor

smhg commented Sep 5, 2019

Great PR! Thanks!
I will release it soon.

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