Skip to content

Commit

Permalink
Changed API Endpoint URL for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
eMahtab committed Nov 17, 2017
1 parent a9fede1 commit ff5d205
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion public/js/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
.constant('CONSTANT',{"API_URL":"http://www.linkository.com"});
*/

/* FOR LOCAL DEVELOPMENT USE THIS */

/*
var appConstants=angular.module('app.constants',[])
.constant('CONSTANT',{"API_URL":"http://localhost:8080"});*/


var appConstants=angular.module('app.constants',[])
.constant("CONSTANT",{"API_URL":"http://localhost:8080"});
.constant("CONSTANT",{"API_URL":"http://www.linkository.herokuapp.com"});

0 comments on commit ff5d205

Please sign in to comment.