Skip to content

Commit

Permalink
Change server host from Heroku to Railway
Browse files Browse the repository at this point in the history
  • Loading branch information
ErickLimaS committed Nov 4, 2022
1 parent bd9d3fb commit 20f7cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/src/redux/actions/userActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Axios from "axios";
import { AnyAction, Dispatch } from "redux";
import { CHANGE_SHOW_ADULT_CONTENT_FAIL, CHANGE_SHOW_ADULT_CONTENT_REQUEST, CHANGE_SHOW_ADULT_CONTENT_SUCCESS, DARK_MODE_OFF, DARK_MODE_ON, DELETE_USER_MEDIA_FAIL, DELETE_USER_MEDIA_REQUEST, DELETE_USER_MEDIA_SUCCESS, UPDATE_USER_AVATAR_IMAGE_FAIL, UPDATE_USER_AVATAR_IMAGE_REQUEST, UPDATE_USER_AVATAR_IMAGE_SUCCESS, USER_ADD_EPISODE_BOOKMARK_FAIL, USER_ADD_EPISODE_BOOKMARK_REQUEST, USER_ADD_EPISODE_BOOKMARK_SUCCESS, USER_ALREADY_WATCHED_ADD_FAIL, USER_ALREADY_WATCHED_ADD_REQUEST, USER_ALREADY_WATCHED_ADD_SUCCESS, USER_ALREADY_WATCHED_REMOVE_FAIL, USER_ALREADY_WATCHED_REMOVE_REQUEST, USER_ALREADY_WATCHED_REMOVE_SUCCESS, USER_EPISODE_ALREADY_WATCHED_ADD_FAIL, USER_EPISODE_ALREADY_WATCHED_ADD_REQUEST, USER_EPISODE_ALREADY_WATCHED_ADD_SUCCESS, USER_EPISODE_ALREADY_WATCHED_REMOVE_FAIL, USER_EPISODE_ALREADY_WATCHED_REMOVE_REQUEST, USER_EPISODE_ALREADY_WATCHED_REMOVE_SUCCESS, USER_LOGIN_FAIL, USER_LOGIN_REQUEST, USER_LOGIN_SUCCESS, USER_LOGOUT_FAIL, USER_LOGOUT_REQUEST, USER_LOGOUT_SUCCESS, USER_MEDIA_ADD_FAIL, USER_MEDIA_ADD_REQUEST, USER_MEDIA_ADD_SUCCESS, USER_MEDIA_REMOVE_FAIL, USER_MEDIA_REMOVE_REQUEST, USER_MEDIA_REMOVE_SUCCESS, USER_PROFILE_UPDATE_FAIL, USER_PROFILE_UPDATE_REQUEST, USER_PROFILE_UPDATE_SUCCESS, USER_REGISTER_FAIL, USER_REGISTER_REQUEST, USER_REGISTER_SUCCESS, USER_REMOVE_EPISODE_BOOKMARK_FAIL, USER_REMOVE_EPISODE_BOOKMARK_REQUEST, USER_REMOVE_EPISODE_BOOKMARK_SUCCESS } from "../constants/userConstants";

const MONGODB_USER_URL = "https://animes-website-db.herokuapp.com/users"
const MONGODB_USER_URL = "https://anime-website.up.railway.app/users"

export const registerUser = (name: String, email: String, password: String) => async (dispatch: Dispatch<AnyAction>) => {

Expand Down

0 comments on commit 20f7cea

Please sign in to comment.