Update index.py

This commit is contained in:
Mr Chen 2024-10-09 22:37:01 +08:00
parent c529d18ad8
commit 82db6d14e0
1 changed files with 1 additions and 1 deletions

View File

@ -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