Clean up - #194
Open
rebeccafitzpatr wants to merge 5 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR is a small cleanup focused on reducing accidental leakage of secrets and avoiding committing unwanted dependency lockfiles.
Changes:
- Sanitizes Supabase-related example env values to remove real project identifiers/keys.
- Updates
.gitignoreto includepackage-lock.json.
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.gitignore |
Adds package-lock.json to ignored files alongside .env. |
.env.example |
Replaces real Supabase URL/key values with placeholders. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| NEXT_PUBLIC_SUPABASE_URL=https://nsrrinhsnsbthvohhepl.supabase.co/rest/v1/ | ||
| NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_TkhJtH0lLZEqPoCM-ujnbw_k8UJYQB0 | ||
| NEXT_PUBLIC_SUPABASE_URL=examplekey.supabase.co/rest/v1/ |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 5 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
.env.example:5
- The example Supabase URL no longer includes a scheme (
https://).createClient(supabaseUrl, ...)expects a fully-qualified URL, so copying this.env.examplevalue as-is would lead to an invalid URL and runtime errors.
NEXT_PUBLIC_SUPABASE_URL=examplekey.supabase.co/rest/v1/
NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_.....
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 4 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
.env.example:5
.env.examplesetsNEXT_PUBLIC_SUPABASE_URLwithout a scheme and with a/rest/v1/suffix.getSupabase()passes this value directly tocreateClient(), which expects the base project URL (typicallyhttps://<project>.supabase.co), so the example as written will lead to a misconfigured client.
NEXT_PUBLIC_SUPABASE_URL=examplekey.supabase.co/rest/v1/
NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_.....
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.