diff --git a/.gitignore b/.gitignore index 007e23a..9fe7cd8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,12 @@ release/ coverage/ .turbo/ *.tsbuildinfo + +# 本地环境变量(含密钥,勿提交;示例见 .env.example / .env.docker.example) +.env.docker +apps/api/.env +.cursor/ + # 勿将 tsc 编译产物提交到 player/src(会导致 Vite 加载过期 .js) apps/player/src/**/*.js !apps/player/src/router/index.js diff --git a/apps/api/.env b/apps/api/.env deleted file mode 100644 index d484c66..0000000 --- a/apps/api/.env +++ /dev/null @@ -1,8 +0,0 @@ -DATABASE_URL=postgresql://thebet365:thebet365@localhost:5432/thebet365 -REDIS_URL=redis://localhost:6379 -JWT_SECRET=dev-secret-change-in-production -JWT_PLAYER_EXPIRES=24h -JWT_ADMIN_EXPIRES=2h -JWT_AGENT_EXPIRES=8h -PORT=3000 -NODE_ENV=development