diff --git a/client/src/remote.js b/client/src/remote.js index 9de03bb..6b6ac99 100644 --- a/client/src/remote.js +++ b/client/src/remote.js @@ -1,7 +1,7 @@ module.exports = { getPosts: function() { this.$http - .get('http://localhost:5000/api/posts?sort=1') + .get('http://localhost:5000/api/posts?sort=-1') .then(res => { this.posts = res.body })