diff --git a/python-api/app/config.py b/python-api/app/config.py index 6178a4b..70844f7 100644 --- a/python-api/app/config.py +++ b/python-api/app/config.py @@ -92,7 +92,7 @@ class Settings(BaseSettings): # CORS 配置 CORS_ORIGINS: str = Field( - default="http://localhost:1420,http://127.0.0.1:1420,http://localhost:8080,http://127.0.0.1:8080", + default="http://localhost:1420,http://127.0.0.1:1420,http://localhost:8080,http://127.0.0.1:8080,tauri://localhost", description="允许的跨域来源(逗号分隔)", )