diff --git a/front-end/app/studio/pages/apis/{apiId}/editor/_components/dialogs/add-path.component.ts b/front-end/app/studio/pages/apis/{apiId}/editor/_components/dialogs/add-path.component.ts index c59d3147f..c389b095e 100644 --- a/front-end/app/studio/pages/apis/{apiId}/editor/_components/dialogs/add-path.component.ts +++ b/front-end/app/studio/pages/apis/{apiId}/editor/_components/dialogs/add-path.component.ts @@ -43,6 +43,9 @@ export class AddPathDialogComponent { if (!path) { this.path = ""; } + if (!this.path.endsWith("/")) { + this.path = this.path + "/"; + } this._isOpen = true; this.addPathModal.changes.subscribe( thing => { if (this.addPathModal.first) { diff --git a/front-end/app/studio/pages/apis/{apiId}/editor/editor.component.html b/front-end/app/studio/pages/apis/{apiId}/editor/editor.component.html index c227adc9a..bfb8c19c2 100644 --- a/front-end/app/studio/pages/apis/{apiId}/editor/editor.component.html +++ b/front-end/app/studio/pages/apis/{apiId}/editor/editor.component.html @@ -18,6 +18,17 @@ + +