update test

This commit is contained in:
Rich Harris
2018-01-14 18:14:07 -05:00
parent 0c158b9e1f
commit d457af8d51
3 changed files with 21 additions and 24 deletions

View File

@@ -32,7 +32,7 @@
},
preload({ params, query }) {
return fetch(`/api/blog`).then(r => r.json()).then(posts => {
return fetch(`/api/blog/contents`).then(r => r.json()).then(posts => {
return { posts };
});
}