Add quotation marks to fetch url

This commit is contained in:
John
2019-10-04 21:25:39 -07:00
committed by GitHub
parent 8ccbe56282
commit 87087c7eac

View File

@@ -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;