Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Fixed #896

Liyas Thomasa6160be3ad7e
diff --git a/pages/index.vue b/pages/index.vue
index 4410efc6c..79368b24d 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1574,6 +1574,9 @@ export default {
// this.$store.commit('setState', { 'value': ["POST", "PUT", "PATCH"].includes(this.method) ? 'application/json' : '', 'attribute': 'contentType' })
this.contentType = ["POST", "PUT", "PATCH"].includes(this.method) ? "application/json" : ""
},
+ preRequestScript: function (val, oldVal) {
+ this.uri = this.uri
+ },
},
computed: {
/**