You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this loads in my browser, the src populated with a relative URL path. The browser interprets this with the expectation that the path should be appended to the pages current URL.
The result is http://localhost:8000/127.0.0.1:35729/livereload.js which isn't going to work.
Proposal
By adding the relative protocol syntax, the browser can interpret the script src as a complete URI with an empty scheme. The scheme is inherited from the pages scheme.
Description
django-livereload-server/livereload/templatetags/livereload_tags.py
Lines 9 to 12 in 95f9cf0
When this loads in my browser, the
src
populated with a relative URL path. The browser interprets this with the expectation that the path should be appended to the pages current URL.The result is
http://localhost:8000/127.0.0.1:35729/livereload.js
which isn't going to work.Proposal
By adding the relative protocol syntax, the browser can interpret the script
src
as a complete URI with an empty scheme. The scheme is inherited from the pages scheme.Links
Protocol Relative URL
The text was updated successfully, but these errors were encountered: