mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复 readme 文档仅在首页显示的 bug.
This commit is contained in:
@@ -95,7 +95,7 @@ public class SiteController {
|
||||
Integer storageId = storageSource.getId();
|
||||
|
||||
// 获取指定目录 readme 文件
|
||||
ReadmeConfig readmeByPath = readmeConfigService.findReadmeByPath(storageId, "");
|
||||
ReadmeConfig readmeByPath = readmeConfigService.findReadmeByPath(storageId, path);
|
||||
|
||||
if (ObjectUtil.isNotNull(readmeByPath)) {
|
||||
String readmeText = readmeByPath.getReadmeText();
|
||||
|
||||
Reference in New Issue
Block a user