$fetch request to API with `Bearer` token not working, headers not included?

Hello, anyone knows why when I made a $fetch to an endpoint with a Bearer token from localhost it works. but from Cloudflare returns 401 ? Does Cloudflare removes any of the headers when sending the request? Its kind of driving me crazy, I've tried to debug this but no success. When using Digital Ocean apps the same request works no problem, it only happens in Cloudflare. I'm using nitro from unjs with ofetch.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server