Skip to content

Commit

Permalink
fix(wiki): page considered not found while it was when in english
Browse files Browse the repository at this point in the history
  • Loading branch information
Supamiu committed May 5, 2018
1 parent 20331d9 commit 95e4b79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/pages/wiki/wiki/wiki.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export class WikiComponent implements OnInit {
// This has to be done because of firebase not handling redirection properly for not found pages.
return this.getEnglishFallback(markdownUrl);
}
return Observable.of(res);
})
.catch(() => {
return this.getEnglishFallback(markdownUrl);
Expand Down

0 comments on commit 95e4b79

Please sign in to comment.