mirror of
https://github.com/guyzyl/whatsapp-contact-sync.git
synced 2026-04-25 22:15:49 +03:00
[PR #210] [MERGED] Use Vite's way of using env variables #218
Labels
No labels
big-feature
bug
dependencies
duplicate
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whatsapp-contact-sync#218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/210
Author: @MRDGH2821
Created: 7/10/2025
Status: ✅ Merged
Merged: 7/18/2025
Merged by: @guyzyl
Base:
main← Head:main📝 Commits (5)
0572f99Directly run main script with nodemonf0b0ce0Use env variables to set client id & api keyd6e2db0Fix typosbe061e8Add sample.env files & update instructionsbdf36c6Rename environment variables for clarity📊 Changes
6 files changed (+32 additions, -11 deletions)
View changed files
📝
.dockerignore(+1 -0)📝
README.md(+19 -8)📝
server/package.json(+1 -1)➕
server/sample.env(+4 -0)➕
web/sample.env(+5 -0)📝
web/src/pages/GoogleAuth.vue(+2 -2)📄 Description
This PR removes hard coded secrets & instead uses Vite's way of using env variables.
I have been using it this way for multiple times as it avoids the hassle of constantly renaming hardcoded secrets it I
git pullAdditionally nodemon can directly watch & run typescript files, so the npm dev script for launching server was also updated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.