Open aenario opened 8 years ago
Test this part of the code to see if it works in both http and https pages and if we should remove the encodeURI.
I think it should handle port too.
One of window.location.host and window.location.hostname include port if i recall correctly. Let's make sure we use the correct one !
Test this part of the code to see if it works in both http and https pages and if we should remove the encodeURI.