Skip to content

Commit

Permalink
Fixed Links
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvilKakadiya7 committed Dec 21, 2023
1 parent cf2aad5 commit 4cfd838
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/Contests/LoadContest.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const LoadContest = () => {
const [mathJaxRendered, setMathJaxRendered] = useState(false);
const navigate = useNavigate();
useEffect(() => {
const url = `http://localhost:5000/scrap/getData?contestId=${id}`;
const url = `https://new-theforces-server.onrender.com/scrap/getData?contestId=${id}`;
const init = async () => {
try {
setLoading(true);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Profiles/ShowProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const ShowProfile = () => {
useEffect(() => {
const init = async () => {
try {
let { data } = await axios.get(`http://localhost:5000/profiles/getProfile?handle=${handle}`);
let { data } = await axios.get(`https://new-theforces-server.onrender.com/profiles/getProfile?handle=${handle}`);
if (data.isProfile === "NO") {
navigate('/profiles');
return;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Rating/Rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Rating = () => {
}

useEffect(() => {
const url = 'http://localhost:5000/profiles/getLeaderBoard';
const url = 'https://new-theforces-server.onrender.com/profiles/getLeaderBoard';
const init = async () => {
try {
setLoading(true);
Expand Down

0 comments on commit 4cfd838

Please sign in to comment.