mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(load) put: replace #: single -> multiple
This commit is contained in:
parent
9a724a4bba
commit
8c59333a02
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue