From 8bbba45564444553a687ce8ab2c72f7276efbb3f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 8 Jul 2026 18:36:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20config=20=E2=80=94=20pipeline=20DB,=20re?= =?UTF-8?q?move=20redundant=20paths,=20add=20module=5Fdbname?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DB was pointing to 'sage' instead of 'pipeline' (root cause of login 500) - Removed extra path entries that conflict with wwwroot symlinks - Added module_dbname mapping for all pipeline modules --- conf/config.json | 63 ++++++++++++------------------------------------ 1 file changed, 15 insertions(+), 48 deletions(-) diff --git a/conf/config.json b/conf/config.json index 91981cf..734d1cd 100644 --- a/conf/config.json +++ b/conf/config.json @@ -14,59 +14,29 @@ "port": 3306, "user": "test", "password": "sOuj6f6r8K0b8ax9K+JxPQ==", - "db": "sage", - "charset": "utf8mb4" - } - }, - "sage": { - "driver": "aiosqlor", - "kwargs": { - "host": "127.0.0.1", - "port": 3306, - "user": "test", - "password": "sOuj6f6r8K0b8ax9K+JxPQ==", - "db": "sage", + "db": "pipeline", "charset": "utf8mb4" } } }, + "module_dbname": { + "rbac": "pipeline", + "appbase": "pipeline", + "pipeline_core": "pipeline", + "pipeline_ops": "pipeline", + "pipeline_dist": "pipeline", + "pipeline_sdlc": "pipeline", + "showcase": "pipeline" + }, "website": { "port": 9090, "paths": [ - [ - "$[workdir]$/wwwroot", - "" - ], - [ - "$[workdir]$/pkgs/bricks/dist", - "/bricks" - ], - [ - "$[workdir]$/pkgs/rbac/wwwroot", - "/rbac" - ], - [ - "$[workdir]$/pkgs/appbase/wwwroot", - "/appbase" - ], - [ - "$[workdir]$/pkgs/pipeline-sdlc/wwwroot", - "/pipeline_sdlc" - ] + ["$[workdir]$/wwwroot", ""] ], "processors": [ - [ - ".dspy", - "dspy" - ], - [ - ".ui", - "bui" - ], - [ - ".tmpl", - "tmpl" - ] + [".dspy", "dspy"], + [".ui", "bui"], + [".tmpl", "tmpl"] ], "session_redis": { "url": "redis://127.0.0.1:6379/3" @@ -74,10 +44,7 @@ "session_max_time": 3600, "session_issue_time": 1800, "client_max_size": 10485760, - "indexes": [ - "index.ui", - "index.html" - ] + "indexes": ["index.ui", "index.html"] }, "SAGE_RBAC_DB": "pipeline" }