Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use-next-public-supabase-anon-key #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

i0dheerajdileep
Copy link

This PR addresses an issue where the SUPABASE_ANON_KEY environment variable was not correctly set as a public environment variable in the project. The key has now been updated to NEXT_PUBLIC_SUPABASE_ANON_KEY to ensure it is correctly exposed and accessible on the client side.

Changes Made:
Updated the environment variable from SUPABASE_ANON_KEY to NEXT_PUBLIC_SUPABASE_ANON_KEY.
Modified the relevant code to reflect this change, ensuring proper functionality without errors.

Copy link

vercel bot commented Aug 19, 2024

@i0dheerajdileep is attempting to deploy a commit to the snapcv Team on Vercel.

A member of the Team first needs to authorize it.

@jamaljm
Copy link
Owner

jamaljm commented Aug 22, 2024

The key was declared to be SUPABASE_ANON_KEY so that it won't be exposed on the client side! Thanks for working on it, but it was intentionally proclaimed so that I could use the key specifically on the server side without exposing it on the client side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants