Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vino4 committed Jun 6, 2017
1 parent ef5f9c6 commit e81cf1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created by rui on 5/9/17.
*/
import axios from "axios";
const SERVER_URL = "http://localhost:3000";
const SERVER_URL = "http://" + window.location.host;

/* update put requests */
export const UPDATE_PARTICIPANT_GROUP_NUMBER = "UPDATE_PARTICIPANT_GROUP";
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Login/modules/actions/loginActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import axios from 'axios'
import { authenticationActions } from '../../../../store/authentication/actions'

const SERVER_URL = 'http://localhost:3000'
const SERVER_URL = "http://" + window.location.host;
export const LOGIN = 'LOGIN'


Expand Down
2 changes: 1 addition & 1 deletion src/routes/Signup/modules/actions/signupActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import axios from 'axios'
import {routerActions } from 'react-router-redux'

const SERVER_URL = 'http://localhost:3000'
const SERVER_URL = "http://" + window.location.host;
export const SIGNUP = 'SIGNUP'


Expand Down

0 comments on commit e81cf1f

Please sign in to comment.