mirror of
https://github.com/arnaucube/decentralized-blogging-platform.git
synced 2026-02-07 19:36:40 +01:00
upload thumb image of the article, some stuff fixed
This commit is contained in:
@@ -12,7 +12,7 @@ angular.module('app.main', ['ngRoute'])
|
||||
.controller('MainCtrl', function($scope, $rootScope, $http) {
|
||||
|
||||
|
||||
$scope.posts = {};
|
||||
$scope.posts = [];
|
||||
$http.get(apiurl + 'posts')
|
||||
.then(function(data) {
|
||||
console.log('data success');
|
||||
|
||||
Reference in New Issue
Block a user