fix(load) put: replace #: single -> multiple

This commit is contained in:
coderaiser 2021-04-12 19:17:20 +03:00
parent 9a724a4bba
commit 8c59333a02

View file

@ -99,7 +99,7 @@ module.exports.put = (url, body) => {
const xhr = new XMLHttpRequest();
url = encodeURI(url)
.replace('#', '%23');
.replace(/#/g, '%23');
xhr.open('put', url, true);