This commit is contained in:
eric
2025-12-06 02:37:47 +08:00
parent cb78fe2422
commit 5983313979
2 changed files with 20 additions and 1 deletions

19
.env Normal file
View File

@@ -0,0 +1,19 @@
# 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="3s/7AKiCKcO5sfJLpP304y43i6mfE6T+LUkeglCxzns=" # 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"
PORT="3001"

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