Add error handling to the frontend

This commit is contained in:
Jonathan Cremin 2016-10-23 23:04:32 +01:00
parent b5cb3e78ab
commit 0a9ea15b58
6 changed files with 77 additions and 18 deletions

View file

@ -33,10 +33,10 @@ export default function* () {
const html = yield render(url, initialState);
const head = {
title: `Share Music`,
title: 'Share Music',
shareUrl: `${this.request.origin}${url}`,
image: `${this.request.origin}/assets/images/logo-512.png`,
}
};
yield this.render('index', {
initialState,