We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb3080 commit 27d15f5Copy full SHA for 27d15f5
src/utils/api.js
@@ -1,6 +1,6 @@
1
var axios = require('axios');
2
axios.defaults.withCredentials = true; //used to send cookies tokens in request headers
3
-var nodeurl = 'http://localhost:3000';
+var nodeurl = process.env.NODE_URI || 'http://localhost:3000';
4
5
import api from '../utils/api'
6
0 commit comments