Matteo Scandolo | 6b69f50 | 2016-06-03 10:42:00 -0700 | [diff] [blame] | 1 | (function () { |
2 | angular.module('mCord') | ||||
3 | .value('baseUrl', (function(){ | ||||
4 | if (process.env.MOCK === 'true') { | ||||
5 | return 'http://private-c85424-progranrestapi.apiary-mock.com/'; | ||||
6 | } else { | ||||
7 | return ''; | ||||
8 | } | ||||
9 | })()) | ||||
10 | })(); |