mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-13 06:03:55 +08:00
feat(_SiteSettingVo): Add routes config (#542)
fix #538 ref https://github.com/halo-dev/halo/pull/8045/files#diff-55c6218411dc6cbb107225edb77470825b09b51180f8cbbcc46759c168ef9361 <img width="227" height="138" alt="image" src="https://github.com/user-attachments/assets/10c2b9dc-04dd-45cf-88ec-a9a0bafb00d0" /> <img width="456" height="76" alt="image" src="https://github.com/user-attachments/assets/0eca48e7-3589-47a5-b014-0575c9a7a86e" /> ```release-note None ```
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
"enable": true, // 是否开启评论
|
||||
"systemUserOnly": false, // 是否只允许登录用户评论
|
||||
"requireReviewForNew": false // 是否需要审核新评论
|
||||
},
|
||||
"routes": {
|
||||
"categoriesUri": "/categories", // 分类页路由前缀
|
||||
"tagsUri": "/tags", // 标签页路由前缀
|
||||
"archivesUri": "/archives" // 归档页路由前缀
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
"enable": true, // 是否开启评论
|
||||
"systemUserOnly": false, // 是否只允许登录用户评论
|
||||
"requireReviewForNew": false // 是否需要审核新评论
|
||||
},
|
||||
"routes": {
|
||||
"categoriesUri": "/categories", // 分类页路由前缀
|
||||
"tagsUri": "/tags", // 标签页路由前缀
|
||||
"archivesUri": "/archives" // 归档页路由前缀
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user