Skip to content

Commit 2b8c05f

Browse files
authored
Merge pull request #954 from supabase/mansueli-patch-1
Update README.md
2 parents 93b5d3b + f7cd6b4 commit 2b8c05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key
2525
You can now use plain `<script>`s to import supabase-js from CDNs, like:
2626

2727
```html
28-
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
2929
```
3030

3131
or even:
3232

3333
```html
34-
<script src="https://unpkg.com/@supabase/supabase-js"></script>
34+
<script src="https://unpkg.com/@supabase/supabase-js@2"></script>
3535
```
3636

3737
Then you can use it from a global `supabase` variable:

0 commit comments

Comments
 (0)