3 ms·
Actually already added to .gitignore file but then realized that .js files are not being discarded by .gitignore
by hasangursoy 5y ago
Actually already added to .gitignore file but then realized that .js files are not being discarded by .gitignore
- chrisco255 5y agoIf this is a Node.js program you should store private variables in a .env file (with .env added to your .gitignore) then call process.env.[variable name here] to get the key at runtime. Look up documentation and examples on .env files. If you deploy to a service such as Vercel or AWS you can set environment variables there for production.
- SahAssar 5y agoThey are if the gitignore matches the file, just like any other filetype.