feat(admin): 添加全局域名过滤器并重构相关视图

将域名过滤器从各视图移至布局组件,通过依赖注入共享状态
更新文档链接和API基础URL
This commit is contained in:
anghunk
2026-01-22 14:43:09 +08:00
parent b71ff687ea
commit cb2b15c5f6
6 changed files with 84 additions and 124 deletions

View File

@@ -210,7 +210,7 @@ app.use('/admin/*', async (c, next) => {
app.get('/', (c) => {
return c.html(
`CWD 评论部署成功,当前版本 ${VERSION}<a href="https://github.com/anghunk/cwd" target="_blank" rel="noreferrer">查看文档</a>`
`CWD 评论部署成功,当前版本 ${VERSION}<a href="https://cdw.js.org" target="_blank" rel="noreferrer">查看文档</a>`
);
});