Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20 from banders/master
Browse files Browse the repository at this point in the history
removed url validation from the 'fetch' function.
  • Loading branch information
banders authored Nov 7, 2018
2 parents 56e1747 + b0e140c commit 67f28a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/services/url.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ export class UrlService {

fetch(url): Observable<any> {

if (!this.isValidUrl(url)) {
return throwError("Invalid URL");
}

var options = {
"headers": new HttpHeaders().set('accept', "application/json")
}
Expand Down

0 comments on commit 67f28a1

Please sign in to comment.