Skip to content

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

Minor get uri update

Jacob Anaviscaeac838198143
diff --git a/pages/index.vue b/pages/index.vue
index 7ca0e09fd..c1639cc78 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1517,9 +1517,9 @@ export default {
computed: {
uri: {
get() {
- return this.$store.state.request.uri ?
- this.$store.state.request.uri
- : this.url + this.path;
+ return this.url + this.path ?
+ this.url + this.path
+ : this.$store.state.request.uri;
},
set(value) {
this.$store.commit("setState", { value, attribute: "uri" })