Add quotation marks to fetch url
This commit is contained in:
@@ -615,7 +615,7 @@
|
|||||||
} else if (this.requestType == 'Fetch') {
|
} else if (this.requestType == 'Fetch') {
|
||||||
var requestString = [];
|
var requestString = [];
|
||||||
var headers = [];
|
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')
|
requestString.push(' method: "' + this.method + '",\n')
|
||||||
if (this.auth === 'Basic') {
|
if (this.auth === 'Basic') {
|
||||||
var basic = this.httpUser + ':' + this.httpPassword;
|
var basic = this.httpUser + ':' + this.httpPassword;
|
||||||
|
|||||||
Reference in New Issue
Block a user