Skip to content

Commit

Permalink
Fix the URL in remote.html example (#35369)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq committed Jul 23, 2021
1 parent b1f56e0 commit 84f5925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3p/remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(function() {
var v = location.search.substr(1);
if (!(/^\d+(-canary)?$/.test(v))) return;
var u = 'https://3p.ampproject.net/'+encodeURIComponent(v)+'/_ping_.js'; // Replace _ping_ with the vendor you wish to use
var u = 'https://3p.ampproject.net/'+encodeURIComponent(v)+'/vendor/_ping_.js'; // Replace _ping_ with the vendor you wish to use
document.write('<script'+' src="'+encodeURI(u)+'"><'+'/script>'); // lgtm [js/eval-like-call]
})();
</script>
Expand Down

0 comments on commit 84f5925

Please sign in to comment.