SJTUMalPan/dsh-subpages ↗★ 1

dsh-subpages

提供网关与门户以一键挂载独立下级页面 适合需要复用DSH端口来统一展示和访问多个独立子页面的开发者。

包名
dsh-subpages
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年9月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SJTUMalPan/dsh-subpages

配置

写在 profile 的 cordis.patch.yml 里(或安装后改插件行的 config):

- id: subpages
  config:
    mountPath: /subpages        # 网关前缀
    pagesDirs: [/abs/extra]     # 额外扫描目录(默认只用包内 pages/)
    requestTimeoutMs: 15000     # 转发超时
    probeTimeoutMs: 2000        # 探活超时