Skip to content

Commit

Permalink
Update team API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Apr 30, 2017
1 parent 706b752 commit 94158af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/team.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ membersDataDict["{{member.name}}"] = {};

// API URL
{% if jekyll.environment == 'production' %}
var apiUrl = '{{ site.baseurl }}/api/team';
var apiUrl = '{{ site.baseurl }}/backend/api/team';
{% else %}
var apiUrl = 'http://127.0.0.1:8080/team';
var apiUrl = 'http://127.0.0.1:8080/api/team';
{% endif %}

//add angular app
Expand Down

0 comments on commit 94158af

Please sign in to comment.