From 20f7cea5fd86b2ef9adcc41bc2e1ad948a58384f Mon Sep 17 00:00:00 2001 From: Erick Date: Fri, 4 Nov 2022 15:21:59 -0300 Subject: [PATCH] Change server host from Heroku to Railway --- front-end/src/redux/actions/userActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/src/redux/actions/userActions.ts b/front-end/src/redux/actions/userActions.ts index 92e83591..1bba1d83 100644 --- a/front-end/src/redux/actions/userActions.ts +++ b/front-end/src/redux/actions/userActions.ts @@ -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) => {