This commit is contained in:
eric
2025-12-09 20:01:32 +08:00
parent 5424445a53
commit ac4d397deb
2 changed files with 17 additions and 1 deletions

16
.env Normal file
View File

@@ -0,0 +1,16 @@
# When adding additional environment variables, the schema in "/src/env.js"
# should be updated accordingly.
# Next Auth
# You can generate a new secret on the command line with:
# npx auth secret
# https://next-auth.js.org/configuration/options#secret
AUTH_SECRET="86P6sWgmTY/b7rU5KN/wwXbRCk0FOeNathdlFpoFv1k=" # Generated by create-t3-app.
# Next Auth Discord Provider
AUTH_DISCORD_ID="hackrobot"
AUTH_DISCORD_SECRET="Xiao4669805"
# Prisma
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
DATABASE_URL="file:./db.sqlite"

2
.gitignore vendored
View File

@@ -33,7 +33,7 @@ yarn-error.log*
# local env files
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
.env
# .env
.env*.local
# vercel