docs: replace with LegacyApiKeys component

This commit is contained in:
Kang Ming committed 2024-10-08 22:27:07 +08:00
1 parent 30472c7fc5
commit 3ffaffc0ed
22 files changed
+25 -25

No files matched your search

@@ -37,7 +37,7 @@ npm install @supabase/supabase-js
```
And finally, we want to save the environment variables in the `src/environments/environment.ts` file.
All we need are the API URL and the <PublishableKey/> key that you copied [earlier](#get-the-api-keys).
All we need are the API URL and the <LegacyApiKeys keyword='publishable' type='anon'/> key that you copied [earlier](#get-the-api-keys).
These variables will be exposed on the browser, and that's completely fine since we have [Row Level Security](/docs/guides/auth#row-level-security) enabled on our Database.
```ts environment.ts