chore: stop tracking backend .env
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
# InfoGenie 环境变量配置文件
|
||||
# 请勿将此文件提交到版本控制系统
|
||||
|
||||
# 邮件配置
|
||||
MAIL_USERNAME=shumengya888@foxmail.com
|
||||
MAIL_PASSWORD=dpdouefloajfdagd
|
||||
|
||||
# 数据库配置
|
||||
MONGO_URI=mongodb://shumengya:shumengya520@47.108.90.0:27017/InfoGenie?authSource=admin
|
||||
|
||||
# 应用密钥
|
||||
SECRET_KEY=infogenie-secret-key-2025
|
||||
|
||||
# 环境配置
|
||||
FLASK_ENV=development
|
||||
16
InfoGenie-backend/.env.example
Normal file
16
InfoGenie-backend/.env.example
Normal file
@@ -0,0 +1,16 @@
|
||||
# InfoGenie 环境变量配置示例
|
||||
# 复制为 .env 并按需填写;不要把 .env 提交到仓库
|
||||
|
||||
# 邮件配置
|
||||
MAIL_USERNAME=your_email@example.com
|
||||
MAIL_PASSWORD=your_mail_password_or_app_token
|
||||
|
||||
# 数据库配置
|
||||
MONGO_URI=mongodb://user:pass@127.0.0.1:27017/InfoGenie?authSource=admin
|
||||
|
||||
# 应用密钥
|
||||
SECRET_KEY=change-me
|
||||
|
||||
# 环境配置
|
||||
FLASK_ENV=development
|
||||
|
||||
Reference in New Issue
Block a user