mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Merge pull request #3034 from AHOHNMYC/http-fix
Remove insecure protocol in embedded view
This commit is contained in:
		| @@ -751,7 +751,7 @@ if (window.location.pathname.startsWith("/embed/")) { | ||||
|  | ||||
|     // Create hyperlink for current instance | ||||
|     redirect_element = document.createElement("a"); | ||||
|     redirect_element.setAttribute("href", `http://${window.location.host}/watch?v=${window.location.pathname.replace("/embed/","")}`) | ||||
|     redirect_element.setAttribute("href", `//${window.location.host}/watch?v=${window.location.pathname.replace("/embed/","")}`) | ||||
|     redirect_element.appendChild(document.createTextNode("Invidious")) | ||||
|  | ||||
|     watch_on_invidious_button.el().appendChild(redirect_element) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Samantaz Fox
					Samantaz Fox