dsh-subpages
DSH 看板宿主:复用 DSH 端口提供 /subpages 网关与统一门户,把独立开发的下级页面一键挂载进来 适合需要复用DSH端口来统一展示和访问多个独立子页面的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SJTUMalPan/dsh-subpagesREADME
Read the full README ↗配置
写在 profile 的 cordis.patch.yml 里(或安装后改插件行的 config):
- id: subpages
config:
mountPath: /subpages # 网关前缀
pagesDirs: [/abs/extra] # 额外扫描目录(默认只用包内 pages/)
requestTimeoutMs: 15000 # 转发超时
probeTimeoutMs: 2000 # 探活超时