From 94158af336339c7b90046c91eb24c3f263de949d Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Sun, 30 Apr 2017 12:53:07 +0200 Subject: [PATCH] Update team API URL --- js/team.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/team.js b/js/team.js index 60da67a..94dfc0b 100644 --- a/js/team.js +++ b/js/team.js @@ -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