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 4bfadbd commit 6ef2c2fCopy full SHA for 6ef2c2f
frontend/.env
@@ -1,2 +1,2 @@
1
-BACKEND_URL = "https://api.recruitingwebsite.online/"
+BACKEND_URL = "https://api.recruitingwebsite.online"
2
ENVIRONMENT = DEVELOPMENT
frontend/src/features/auth/authActions.js
@@ -3,9 +3,9 @@ import { createAsyncThunk } from "@reduxjs/toolkit";
3
import { useDispatch } from "react-redux";
4
let base_url;
5
if (process.env.ENVIRONMENT == "PRODUCTION") {
6
- base_url = process.env.BACKEND_URL;
+ base_url = "https://api.recruitingwebsite.online";
7
} else {
8
- base_url = "http://localhost:4000";
9
}
10
export const userLogin = createAsyncThunk(
11
"user/login",
0 commit comments