Netlify adding site name to external api calls


II’m new to Netifly so maybe this is a simple issue to fix.
My application is running on

It is a react app with has some external call to the github api.
For some reason when I deploy some of the external calls are getting pre-pended with my apps address.

For example

But this is the actual code
const res = await axios.get(

It doesn’t happen for all requests.

Thanks in advance

Did you notice the missing /? It should be https://. Maybe that’s the cause?


Good catch. Thanks a million that solved the issue. Silly mistake

1 Like