diff --git a/.memory/worklog.json b/.memory/worklog.json index deacc20..eb962de 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,11 +1,5 @@ { "entries": [ - { - "files_changed": 1, - "message": "Codex 会话活跃 · 最近命令:codex · 1 项未提交变更 · 最近提交:auto-save 2026-05-15 14:53 (~6)", - "ts": "2026-05-15T06:54:46Z", - "type": "session-heartbeat" - }, { "files_changed": 1, "hash": "02d96e5", @@ -3258,6 +3252,13 @@ "type": "session-heartbeat", "message": "Codex 会话活跃 · 最近命令:codex · 分支 main · 2 项未提交变更 · 最近提交:auto-save 2026-05-17 23:35 (~4)", "files_changed": 2 + }, + { + "ts": "2026-05-17T23:40:43+08:00", + "type": "commit", + "message": "auto-save 2026-05-17 23:40 (~2)", + "hash": "95e976f", + "files_changed": 2 } ] } diff --git a/api/main.py b/api/main.py index e48479d..f89c98f 100644 --- a/api/main.py +++ b/api/main.py @@ -29,7 +29,7 @@ load_dotenv() JOBS_DIR = Path(os.getenv("JOBS_DIR", "./jobs")).resolve() JOBS_DIR.mkdir(parents=True, exist_ok=True) -CORS_ORIGINS = [o.strip() for o in os.getenv("CORS_ORIGINS", "http://localhost:4290").split(",") if o.strip()] +CORS_ORIGINS = [o.strip() for o in os.getenv("CORS_ORIGINS", "http://localhost:4290,http://127.0.0.1:4290").split(",") if o.strip()] PRODUCT_LIBRARY_DIR = Path( os.getenv("PRODUCT_LIBRARY_DIR", Path(__file__).resolve().parent / "product_library" / "skg-products") ).resolve()