Add quotation marks to fetch url
This commit is contained in:
parent
8ccbe56282
commit
87087c7eac
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@
|
|||
} else if (this.requestType == 'Fetch') {
|
||||
var requestString = [];
|
||||
var headers = [];
|
||||
requestString.push('fetch(' + this.url + this.path + this.queryString + ', {\n')
|
||||
requestString.push('fetch("' + this.url + this.path + this.queryString + '", {\n')
|
||||
requestString.push(' method: "' + this.method + '",\n')
|
||||
if (this.auth === 'Basic') {
|
||||
var basic = this.httpUser + ':' + this.httpPassword;
|
||||
|
|
|
|||
Loading…
Reference in a new issue