fix: 更换前端端口 9948 -> 18081 解决 Windows 权限问题
- 前端端口改为 18081 - 添加 host: 127.0.0.1 配置 - 更新 CORS 允许新前端地址 - 更新启动/停止脚本
This commit is contained in:
@@ -44,7 +44,7 @@ class Settings(BaseSettings):
|
||||
plugins_dir: str = "plugins"
|
||||
|
||||
# CORS 配置
|
||||
cors_origins: str = "http://localhost:8080,http://localhost:5173,http://localhost:9948"
|
||||
cors_origins: str = "http://localhost:8080,http://localhost:5173,http://127.0.0.1:18081,http://localhost:18081"
|
||||
|
||||
@property
|
||||
def cors_origins_list(self) -> List[str]:
|
||||
|
||||
Reference in New Issue
Block a user