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
Remove trailing slash from url if it exists
Dmitry Yankowskifb0c6d42eb0d
diff --git a/components/section.vue b/components/section.vueindex 46aa973d6..2119f9064 100644--- a/components/section.vue+++ b/components/section.vue@@ -25,7 +25,7 @@ export default {return this.$store.state.postwoman.settings.FRAME_COLORS_ENABLED || false},sectionString() {- return `${this.$route.path}/${this.label}`+ return `${this.$route.path.replace(/\/+$/, '')}/${this.label}`},},