From 82db6d14e00de66e8f97664cb24f41a2d07aeba7 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 9 Oct 2024 22:37:01 +0800 Subject: [PATCH] Update index.py --- plugins/redis/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/redis/index.py b/plugins/redis/index.py index b38adcd32..74c117897 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -120,7 +120,7 @@ def contentReplace(content): service_path = mw.getServerDir() content = content.replace('{$ROOT_PATH}', mw.getRootDir()) content = content.replace('{$SERVER_PATH}', service_path) - content = content.replace('{$SERVER_APP}', service_path + '/redis') + content = content.replace('{$SERVER_APP}', service_path + '/'+getPluginName()) content = content.replace('{$REDIS_PASS}', mw.getRandomString(10)) return content