# @sutong/dsh-lan-access — bundle patch. # # This patch only INSERTS one row and overrides no shipped row. That is a # deliberate design property: the LAN listener is a separate socket that # forwards to the loopback web server, so nothing in the official composition # (webserver bind, connection trust fence, launch token) has to change, and a # failure or a manual disable of this row cannot break the loopback Web UI. # # The row is an ordinary Cordis plugin activated by package name. - insert: - id: dsh-lan-access name: '@sutong/dsh-lan-access' config: # The official client derives its `isLoopback` topology fact from # `location.hostname`, and the durable settings surface is loopback-only # by that rule: on a LAN page the settings mirror stays in `memory` mode, # so the Models/provider pages fail with "settings are unavailable in # this browser" and the config-file action disappears. # # Declaring `ownsHost` for non-loopback pages restores those screens. # A loopback page is left untouched, and the Host/Origin fence plus the # launch-token login are unchanged, so this does not widen server-side # authorization — but that settings UI reads and writes server settings, # credentials included. Set this to false to keep the shipped posture. ownsHostCompat: true