From c8e89d2d1e6aa0e6c1788da341f83e43adb4233b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 11 Aug 2026 18:12:44 +0800 Subject: [PATCH] feat: add Redis config for session + rbac module_cache --- conf/config.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/config.json b/conf/config.json index 21a65f5..54d9f6b 100644 --- a/conf/config.json +++ b/conf/config.json @@ -36,9 +36,15 @@ [".wss", "ws"] ], "indexes": ["index.ui", "index.html"], + "session_redis": { + "url": "redis://127.0.0.1:6379/0" + }, "statics": [ ["/bricks/", "/d/pccs/wwwroot/bricks/"], ["/imgs/", "/d/pccs/wwwroot/imgs/"] ] + }, + "module_cache": { + "rbac": true } }