From fba19d04b269bd238e288caad5f0ef3976e190ad Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Mar 2026 15:46:21 +0800 Subject: [PATCH] fix: add CORS origin for remote IP access Co-Authored-By: Claude Opus 4.6 --- imagecreator/backend/app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagecreator/backend/app/config.py b/imagecreator/backend/app/config.py index df8553b..6e05cba 100644 --- a/imagecreator/backend/app/config.py +++ b/imagecreator/backend/app/config.py @@ -12,7 +12,7 @@ class Settings(BaseSettings): REFRESH_TOKEN_EXPIRE_DAYS: int = 7 # CORS - CORS_ORIGINS: list[str] = ["http://localhost:3000"] + CORS_ORIGINS: list[str] = ["http://121.41.188.238:3600", "http://localhost:3600"] # LLM API Keys GEMINI_API_KEY: str = ""