stdproject/backend/src/main/resources/.env
2025-06-16 17:05:13 +08:00

15 lines
287 B
Bash

# 数据库配置
DB_URL=jdbc:mysql://your-host:3306/your-db
DB_USERNAME=your-username
DB_PASSWORD=your-password
# JWT配置
JWT_SECRET=your-super-secret-key
JWT_EXPIRATION=86400000
# 环境配置
SPRING_PROFILES_ACTIVE=dev
# CORS配置
CORS_ALLOWED_ORIGINS=https://your-frontend.com