From d3d3cda758bebebb9e3793469a7ed1cf9d8ef547 Mon Sep 17 00:00:00 2001 From: RifqiAlAbqary Date: Wed, 6 Nov 2019 18:05:13 +0900 Subject: [PATCH] Fix #271 Duplicated query string --- pages/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index 345c82160..1593eba62 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1030,7 +1030,7 @@ export default { this.method + "', '" + this.url + - this.path + + this.pathName + this.queryString + "', true, " + user + @@ -1077,7 +1077,7 @@ export default { var requestString = []; var headers = []; requestString.push( - 'fetch("' + this.url + this.path + this.queryString + '", {\n' + 'fetch("' + this.url + this.pathName + this.queryString + '", {\n' ); requestString.push(' method: "' + this.method + '",\n'); if (this.auth === "Basic") { @@ -1126,7 +1126,7 @@ export default { var requestString = []; requestString.push("curl -X " + this.method + " \\\n"); requestString.push( - " '" + this.url + this.path + this.queryString + "' \\\n" + " '" + this.url + this.pathName + this.queryString + "' \\\n" ); if (this.auth === "Basic") { var basic = this.httpUser + ":" + this.httpPassword;