fix: Update .gitignore to ignore .env files by prefixing with a dot

This commit is contained in:
yoosangwook 2025-04-04 09:04:35 +09:00
parent d52e6ddce7
commit 0f9d3588fb
2 changed files with 11 additions and 1 deletions

10
.env Normal file
View File

@ -0,0 +1,10 @@
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="sqlserver://172.30.1.66:1433;database=onsitesurvey;user=sa;password=Qwertqaz12345;encrypt=true;trustServerCertificate=true;"
# SESSION_PASSWORD="QWERASDFZXCV1234567890REWQFDSAVCXZ"
SESSION_PASSWORD="This application is for mobile field research"

2
.gitignore vendored
View File

@ -31,7 +31,7 @@ yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
# env files (can opt-in for committing if needed) # env files (can opt-in for committing if needed)
.env* # .env*
# vercel # vercel
.vercel .vercel