Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
refactor
jamesgeorge007d1a2786c7cc3
diff --git a/pages/index.vue b/pages/index.vueindex 0aee73ea4..2aa24b90f 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -517,7 +517,7 @@value}) => `${key}=${value}`).join('&')queryString = queryString === '' ? '' : `?${queryString}`- if(path.indexOf('?') !== -1) {+ if(path.includes('?')) {path = path.slice(0, path.indexOf('?')) + queryString;} else {path = path + queryString