Skip to content

Commit 6ef2c2f

Browse files
committed
deployment added
1 parent 4bfadbd commit 6ef2c2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
BACKEND_URL = "https://api.recruitingwebsite.online/"
1+
BACKEND_URL = "https://api.recruitingwebsite.online"
22
ENVIRONMENT = DEVELOPMENT

frontend/src/features/auth/authActions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { createAsyncThunk } from "@reduxjs/toolkit";
33
import { useDispatch } from "react-redux";
44
let base_url;
55
if (process.env.ENVIRONMENT == "PRODUCTION") {
6-
base_url = process.env.BACKEND_URL;
6+
base_url = "https://api.recruitingwebsite.online";
77
} else {
8-
base_url = "http://localhost:4000";
8+
base_url = "https://api.recruitingwebsite.online";
99
}
1010
export const userLogin = createAsyncThunk(
1111
"user/login",

0 commit comments

Comments
 (0)