Skip to content

Commit

Permalink
Trimmed url value.
Browse files Browse the repository at this point in the history
Closes #286.
  • Loading branch information
imolorhe committed May 20, 2018
1 parent 80c8757 commit e3d4d13
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 771 deletions.
4 changes: 2 additions & 2 deletions src/app/components/url-box/url-box.component.ts
Expand Up @@ -22,8 +22,8 @@ export class UrlBoxComponent {
constructor() { }

setApiUrl() {
const url = this.urlInput.nativeElement.value;
this.urlChange.emit(url);
const url: string = this.urlInput.nativeElement.value;
this.urlChange.emit(url.trim());
}

setVerb(verb) {
Expand Down

0 comments on commit e3d4d13

Please sign in to comment.