T
TanStack3y ago
genetic-orange

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
frail-apricot3y 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

Did you find this page helpful?