feat: add new server entry point and update package.json
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 服务器配置
|
||||
PORT=3501
|
||||
NODE_ENV=development
|
||||
|
||||
# JWT 密钥(生产环境必须修改)
|
||||
JWT_SECRET=your-secret-key-here
|
||||
|
||||
# 数据库路径
|
||||
DB_PATH=./accountbook.db
|
||||
|
||||
# 日志级别
|
||||
LOG_LEVEL=info
|
||||
|
||||
# 生产环境允许的域名(逗号分隔)
|
||||
ALLOWED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
|
||||
Reference in New Issue
Block a user