Http / Https
Hi all, react query is changing from HTTP to HTTPS
How can I change it? just because we're running the API on localhost and I don't want to setup certificate, (painful)
so, how can I change it ?
I'm using react 18 next13
1 Reply
frail-apricot•3y ago
React query doesn't do anything in this regard because it doesn't actually fetch data
You provide a function that returns a promise. This function might (or might not) make a network request. So it's up to you - you'd likely have the same problem without react-query