Browse Source

production

master
arnaucode 8 years ago
parent
commit
640c802b43
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      www/js/app.js
  2. +1
    -1
      www/templates/user.html

+ 2
- 2
www/js/app.js

@ -6,9 +6,9 @@
// 'starter.controllers' is found in controllers.js
var urlapi = "http://localhost:3000/api/";
//var urlapi = "http://localhost:3000/api/";
//var urlapi="https://collectivecar.paas.primustech.io/api/";
//var urlapi="http://147.83.7.158:3000/api/";
var urlapi="http://147.83.7.158:3000/api/";
angular.module('starter', [

+ 1
- 1
www/templates/user.html

@ -29,7 +29,7 @@
{{user.travels.length}} Travels
</a>
<a class="tab-item" ng-show="arrayObjectIndexOf(user.likes, storageuser._id)==-1">
<i class="icon ion-ios-heart" ng-click="likeUser()"></i>
<i class="icon ion-heart" ng-click="likeUser()"></i>
<i ng-href="#/app/users/userLikes/{{user._id}}">
{{user.likes.length}} likes
</i>

Loading…
Cancel
Save