I am unable to send request to the server hosted on Render site.
I tried hosting the front-end locally on my system and it is able to send request to the render server. But when hosting in Netlify I am facing issues.
Hi @Rema , thanks for the post and welcome.
Based on the image shared and your GitHub repository, I see that you are sending the request to /videos/random instead of the full url path of your render server
const res = await axios.get(`/videos/${type}`);
Kindly change all your url paths to the full url of your render server e.g. https://url-of-render-server/videos/random
Kindly make the changes and then redeploy again to see if it works.