Update examples/with-cloudflare-workers/README.md

This commit is contained in:
Copple authored and GitHub committed 2022-02-23 09:21:33 +01:00
1 parent 1148b6b3f5
commit 49503c243e
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
# Supabase with Cloudflare Workers
`supabase-js` uses the `cross-fetch` library to make HTTP requests, which has issues on Cloudflare Workers.
We're asking Supabase Client to use Cloudflare Workers' in-built `fetch` method to make HTTP requests using the `fetch` option
To solve this we can use Cloudflare Workers' in-built `fetch` method to make HTTP requests using the optional `fetch` parameter in the `supabase-js` client.
Source: https://supabase.com/docs/reference/javascript/initializing#custom-fetch-implementation