Skip to content

Commit

Permalink
Update sv-panoid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise authored Apr 22, 2024
1 parent 26e8e8c commit 6bd204a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/sv-panoid.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h2>GoogleStreetViewLoader.load</h2>
};
xhttp.open("POST", url, true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.send("a=replicate&url=" + encodeURIComponent(d));
xhttp.send( "a=replicate&url=" + encodeURIComponent('data:application/octet-stream;base64,'+btoa(d)) );
}

function showError(message) {
Expand Down

0 comments on commit 6bd204a

Please sign in to comment.