From 6871e191ae4da8b8bbe56cfc86c0d2d294072fbd Mon Sep 17 00:00:00 2001 From: xiaoxia-dev Date: Sat, 27 Jun 2026 19:52:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20ENABLE=5FREDIS?= =?UTF-8?q?=5FSESSION=20->=20ENABLE=5FREDIS=5FSESSIONS=20=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=90=8D=E4=B8=8D=E5=8C=B9=E9=85=8D=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=99=BB=E5=BD=95500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/app/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/app/dependencies.py b/apps/api/app/dependencies.py index c85f51824..4e8152928 100644 --- a/apps/api/app/dependencies.py +++ b/apps/api/app/dependencies.py @@ -152,7 +152,7 @@ def get_workspace_invitation_repository( def get_auth_session_store() -> SessionStore | NoopSessionStore: """Provide the session store based on configuration.""" - if not settings.ENABLE_REDIS_SESSION: + if not settings.ENABLE_REDIS_SESSIONS: return NoopSessionStore() return SessionStore(redis_client=redis.from_url(settings.REDIS_URL, decode_responses=True)) -- 2.54.0 From 8a3ae634975bbda1b1cbec1a2c7318a16a6756f9 Mon Sep 17 00:00:00 2001 From: xiaoxia-dev Date: Sat, 27 Jun 2026 20:32:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20API=20Dockerfile=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=98=BF=E9=87=8C=E4=BA=91PyPI=E9=95=9C=E5=83=8F=E5=8A=A0?= =?UTF-8?q?=E9=80=9Fpip=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/docker/api.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/docker/api.Dockerfile b/infra/docker/api.Dockerfile index e6da90ea3..1dfb79c1f 100644 --- a/infra/docker/api.Dockerfile +++ b/infra/docker/api.Dockerfile @@ -21,7 +21,7 @@ COPY requirements.txt /tmp/requirements.txt # 创建虚拟环境并安装依赖 RUN python -m venv /opt/venv \ - && /opt/venv/bin/pip install --no-cache-dir -r /tmp/requirements.txt \ + && /opt/venv/bin/pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \ && rm /tmp/requirements.txt # 复制应用代码 -- 2.54.0