初步开发完成
This commit is contained in:
+4
-11
@@ -1,9 +1,3 @@
|
||||
# 应用配置
|
||||
APP_NAME=海洋项目管理系统
|
||||
APP_VERSION=1.0.0
|
||||
DEBUG=True
|
||||
USE_SQLITE=true
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
@@ -12,10 +6,9 @@ DB_PASSWORD=rootpassword
|
||||
DB_NAME=project_manager
|
||||
DB_CHARSET=utf8mb4
|
||||
|
||||
# 安全配置
|
||||
# 应用配置
|
||||
SECRET_KEY=your-secret-key-change-this-in-production
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
||||
DEBUG=True
|
||||
|
||||
# CORS配置
|
||||
CORS_ORIGINS=["http://localhost:3000","http://127.0.0.1:3000"]
|
||||
# 其他配置
|
||||
CORS_ORIGINS=["http://localhost:5173","http://localhost:3000","http://127.0.0.1:5173","http://127.0.0.1:3000"]
|
||||
|
||||
Reference in New Issue
Block a user