Skip to content

Commit

Permalink
Removed Constant API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eMahtab committed Nov 17, 2017
1 parent 592cb90 commit 5b0c123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 136,7 @@ appService.service('UserService',function($http,CONSTANT,Storage){
};

this.login = function(user){
return $http.post(CONSTANT.API_URL '/login',user,{headers:{'Content-Type': 'application/json'}});
return $http.post('/login',user,{headers:{'Content-Type': 'application/json'}});
};

this.logout = function(){
Expand Down

0 comments on commit 5b0c123

Please sign in to comment.