ZnFr60/dsh-lan-access-for-windows ↗★ 1

dsh-lan-access

将Web服务绑定到0.0.0.0并修复手机浏览器明文HTTP下的崩溃。 适合需用手机通过局域网访问DSH Web的用户,须装到web profile并配置host。

包名
dsh-lan-access
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年8月25日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZnFr60/dsh-lan-access-for-windows

使用方法(Usage)

适用对象:本插件是 web profile 专用插件,请务必安装到 --profile web。 (它需要 web profile 里的 webserver 行,若装进无 web 层的通用 profile 会提示 entry "webserver" not found,属预期警告,并非装错。)

前置条件

  • 已安装 DSH 并可用 dsh web;
  • 已安装 pnpm(dsh plugin 依赖,corepack enable 即可)。

完整安装步骤


# ① 组合配置:webserver.host 应为 0.0.0.0,且出现 lan-access 行
dsh --profile web --dump-config

### Usage / Verify

```bash