Skip to content

Commit

Permalink
Merge pull request #16 from gorillab/implement-users-api
Browse files Browse the repository at this point in the history
feat: update api url for development & production
  • Loading branch information
phatpham9 authored Aug 26, 2017
2 parents 1e8438a + 19008bc commit 4500808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/config/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Object.defineProperty(exports,'__esModule',{value:true});var API_URL=process.env.NODE_ENV==='development'?'/api/v1':'https://glab-reader-api.herokuapp.com/v1';exports['default']=API_URL;
Object.defineProperty(exports,'__esModule',{value:true});var API_URL='/api/v1';exports['default']=API_URL;
2 changes: 1 addition & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const API_URL = process.env.NODE_ENV === 'development' ? '/api/v1' : 'https://glab-reader-api.herokuapp.com/v1';
const API_URL = '/api/v1';

export default API_URL;

0 comments on commit 4500808

Please sign in to comment.