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