Update fetch_blog_posts.js

This commit is contained in:
Bruno Škvorc 2018-10-24 11:55:11 +02:00 committed by GitHub
parent 3169fecf45
commit 6c63df50f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
$(document).ready(function () {
let url = 'https://our.status.im/ghost/api/v0.1/posts/?filter=tag:nimbus&order=published_at%20asc&limit=3&formats=plaintext&client_id=ghost-frontend&client_secret=2b055fcd57ba';
let url = 'https://our.status.im/ghost/api/v0.1/posts/?filter=tag:nimbus&order=published_at%20desc&limit=3&formats=plaintext&client_id=ghost-frontend&client_secret=2b055fcd57ba';
var urlBase = [location.protocol, '//', location.host, location.pathname].join('');
$.ajax({